summaryrefslogtreecommitdiff
path: root/third_party/srtp
diff options
context:
space:
mode:
authorNanang Izzuddin <nanang@teluu.com>2008-07-14 17:53:58 +0000
committerNanang Izzuddin <nanang@teluu.com>2008-07-14 17:53:58 +0000
commit4f5a4a21880bfafa3600639b58c2d96693aa762b (patch)
tree5e0e024805266f36faf07b7104fa36fe601e0735 /third_party/srtp
parentab68fef4c19627a20b2bbe1df65f1e84d1ac8038 (diff)
Ticket #558: Fixed memory leak caused by cipher_type_self_test()
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2141 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'third_party/srtp')
-rw-r--r--third_party/srtp/crypto/cipher/cipher.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/third_party/srtp/crypto/cipher/cipher.c b/third_party/srtp/crypto/cipher/cipher.c
index 573c5e23..b5ef1645 100644
--- a/third_party/srtp/crypto/cipher/cipher.c
+++ b/third_party/srtp/crypto/cipher/cipher.c
@@ -359,6 +359,8 @@ cipher_type_self_test(const cipher_type_t *ct) {
}
}
+
+ cipher_dealloc(c);
return err_status_ok;
}