diff options
author | Reyk Floeter <reyk@cvs.openbsd.org> | 2012-12-15 23:18:18 +0000 |
---|---|---|
committer | Reyk Floeter <reyk@cvs.openbsd.org> | 2012-12-15 23:18:18 +0000 |
commit | 0b5d7b7b5f6132e9984f1acae9923c080ed15383 (patch) | |
tree | 291f515e69b75e4c2d6b9e8eacf860cbced9aee3 /sbin/iked/crypto.c | |
parent | e57758a77a520c457ee824fb1ee04b0828688945 (diff) |
Plug two memory leaks when cleaning up the dh/dsa crypto structures.
Diffstat (limited to 'sbin/iked/crypto.c')
-rw-r--r-- | sbin/iked/crypto.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/iked/crypto.c b/sbin/iked/crypto.c index 8a064f399da..2ea501606b5 100644 --- a/sbin/iked/crypto.c +++ b/sbin/iked/crypto.c @@ -1,4 +1,4 @@ -/* $OpenBSD: crypto.c,v 1.7 2012/09/18 12:07:59 reyk Exp $ */ +/* $OpenBSD: crypto.c,v 1.8 2012/12/15 23:18:17 reyk Exp $ */ /* $vantronix: crypto.c,v 1.18 2010/05/28 15:34:35 reyk Exp $ */ /* @@ -534,6 +534,7 @@ dsa_free(struct iked_dsa *dsa) } ibuf_release(dsa->dsa_keydata); + free(dsa); } struct ibuf * |