aboutsummaryrefslogtreecommitdiff
path: root/libcmix-crypto/elgamal/elgamal.c
diff options
context:
space:
mode:
authorDennis Brentjes <d.brentjes@gmail.com>2016-10-30 19:58:50 +0100
committerDennis Brentjes <d.brentjes@gmail.com>2016-10-30 20:00:49 +0100
commit6d4efd424682f90896d5237ede4326416b6fa97d (patch)
tree3d535f5f3a1c148e465a51ee0afa027832d0b6e9 /libcmix-crypto/elgamal/elgamal.c
parent7ecf4ae11df97efa2113dad8855eb8d9cb1a9498 (diff)
downloadcmix-6d4efd424682f90896d5237ede4326416b6fa97d.tar.gz
cmix-6d4efd424682f90896d5237ede4326416b6fa97d.tar.bz2
cmix-6d4efd424682f90896d5237ede4326416b6fa97d.zip
Fixes some memory leaks and consequent incorrect frees.
Diffstat (limited to 'libcmix-crypto/elgamal/elgamal.c')
-rw-r--r--libcmix-crypto/elgamal/elgamal.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libcmix-crypto/elgamal/elgamal.c b/libcmix-crypto/elgamal/elgamal.c
index 3ee86d7..336d974 100644
--- a/libcmix-crypto/elgamal/elgamal.c
+++ b/libcmix-crypto/elgamal/elgamal.c
@@ -8,6 +8,7 @@ struct Api get_elgamal_implementation()
elgamal_create_keypair,
elgamal_delete_keypair,
elgamal_element_to_array,
+ elgamal_free_buffer,
elgamal_array_to_element,
elgamal_get_group_element,
elgamal_delete_group_element,