(test_cipher): avoid leaking memory
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20395 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -124,6 +124,7 @@ test_cipher(const EVP_CIPHER *c, struct tests *t)
|
|||||||
|
|
||||||
EVP_CIPHER_CTX_cleanup(&ectx);
|
EVP_CIPHER_CTX_cleanup(&ectx);
|
||||||
EVP_CIPHER_CTX_cleanup(&dctx);
|
EVP_CIPHER_CTX_cleanup(&dctx);
|
||||||
|
free(d);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user