diff options
author | Werner Koch <wk@gnupg.org> | 2005-07-27 20:10:56 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2005-07-27 20:10:56 +0200 |
commit | a1cdf3c75fd5c644607b1877207d1d5b507a5bb9 (patch) | |
tree | db7ed08934f367159a6792990476c0991fa44246 /cipher/cipher.c | |
parent | Removed directories which are only used by the 1.9 branch (diff) | |
download | gnupg2-a1cdf3c75fd5c644607b1877207d1d5b507a5bb9.tar.xz gnupg2-a1cdf3c75fd5c644607b1877207d1d5b507a5bb9.zip |
Converted all m_free to xfree etc.
Diffstat (limited to 'cipher/cipher.c')
-rw-r--r-- | cipher/cipher.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cipher/cipher.c b/cipher/cipher.c index 950f625cf..591ce208e 100644 --- a/cipher/cipher.c +++ b/cipher/cipher.c @@ -389,10 +389,10 @@ cipher_open( int algo, int mode, int secure ) /* ? perform selftest here and mark this with a flag in cipher_table ? */ - hd = secure ? m_alloc_secure_clear( sizeof *hd + hd = secure ? xmalloc_secure_clear( sizeof *hd + cipher_table[i].contextsize - sizeof(PROPERLY_ALIGNED_TYPE) ) - : m_alloc_clear( sizeof *hd + cipher_table[i].contextsize + : xmalloc_clear( sizeof *hd + cipher_table[i].contextsize - sizeof(PROPERLY_ALIGNED_TYPE) ); hd->algo = algo; hd->blocksize = cipher_table[i].blocksize; @@ -421,7 +421,7 @@ cipher_open( int algo, int mode, int secure ) void cipher_close( CIPHER_HANDLE c ) { - m_free(c); + xfree(c); } |