diff options
author | Werner Koch <[email protected]> | 2005-07-27 18:10:56 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2005-07-27 18:10:56 +0000 |
commit | a1cdf3c75fd5c644607b1877207d1d5b507a5bb9 (patch) | |
tree | db7ed08934f367159a6792990476c0991fa44246 /cipher/dynload.c | |
parent | Removed directories which are only used by the 1.9 branch (diff) | |
download | gnupg-a1cdf3c75fd5c644607b1877207d1d5b507a5bb9.tar.gz gnupg-a1cdf3c75fd5c644607b1877207d1d5b507a5bb9.zip |
Converted all m_free to xfree etc.
Diffstat (limited to 'cipher/dynload.c')
-rw-r--r-- | cipher/dynload.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cipher/dynload.c b/cipher/dynload.c index 3f0e2b720..05d82f623 100644 --- a/cipher/dynload.c +++ b/cipher/dynload.c @@ -65,12 +65,12 @@ register_cipher_extension( const char *mainpgm, const char *fname ) tmp = make_filename(fname, NULL); else tmp = make_filename(GNUPG_LIBDIR, fname, NULL); - el = m_alloc_clear( sizeof *el + strlen(tmp) ); + el = xmalloc_clear( sizeof *el + strlen(tmp) ); strcpy(el->name, tmp ); - m_free(tmp); + xfree(tmp); } else { - el = m_alloc_clear( sizeof *el + strlen(fname) ); + el = xmalloc_clear( sizeof *el + strlen(fname) ); strcpy(el->name, fname ); } /* check whether we have a class hint */ @@ -82,7 +82,7 @@ register_cipher_extension( const char *mainpgm, const char *fname ) for(r = extensions; r; r = r->next ) { if( !compare_filenames(r->name, el->name) ) { log_info("extension `%s' already registered\n", el->name ); - m_free(el); + xfree(el); return; } } |