added missign cleanup call, causing a small memory leak

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6992 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2014-01-06 22:45:30 +00:00
parent b7bb1c25cb
commit 2dcf0acef3

View File

@ -81,6 +81,7 @@ bool RsAES::aes_crypt_8_16(const uint8_t *input_data,uint32_t input_data_length,
output_data_length = c_len + f_len;
EVP_CIPHER_CTX_cleanup(&e_ctx) ;
return true;
}
@ -133,6 +134,7 @@ bool RsAES::aes_decrypt_8_16(const uint8_t *input_data,uint32_t input_data_lengt
output_data_length = c_len + f_len;
EVP_CIPHER_CTX_cleanup(&e_ctx) ;
return true;
}