diff options
author | Werner Koch <[email protected]> | 2000-01-24 11:55:49 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2000-01-24 11:55:49 +0000 |
commit | 0070faa0ffd5c366bc20f477a4838b701c20b063 (patch) | |
tree | 4fb8a63c5f2b7cb4b33a51247bdc8961caa89720 /util/miscutil.c | |
parent | See ChangeLog: Fri Dec 31 14:06:56 CET 1999 Werner Koch (diff) | |
download | gnupg-0070faa0ffd5c366bc20f477a4838b701c20b063.tar.gz gnupg-0070faa0ffd5c366bc20f477a4838b701c20b063.zip |
See ChangeLog: Mon Jan 24 13:04:28 CET 2000 Werner Koch
Diffstat (limited to 'util/miscutil.c')
-rw-r--r-- | util/miscutil.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/util/miscutil.c b/util/miscutil.c index eb72415bb..c96608d98 100644 --- a/util/miscutil.c +++ b/util/miscutil.c @@ -210,7 +210,7 @@ print_utf8_string( FILE *fp, const byte *p, size_t n ) if( i < n ) { buf = utf8_to_native( p, n ); fputs( buf, fp ); - m_free( buf ); + gcry_free( buf ); } else print_string( fp, p, n, 0 ); @@ -218,7 +218,7 @@ print_utf8_string( FILE *fp, const byte *p, size_t n ) /**************** * This function returns a string which is suitable for printing - * Caller must release it with m_free() + * Caller must release it with gcry_free() */ char * make_printable_string( const byte *p, size_t n, int delim ) @@ -242,7 +242,7 @@ make_printable_string( const byte *p, size_t n, int delim ) p = save_p; n = save_n; /* and now make the string */ - d = buffer = m_alloc( buflen ); + d = buffer = gcry_xmalloc( buflen ); for( ; n; n--, p++ ) { if( iscntrl( *p ) || *p == delim ) { *d++ = '\\'; |