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/dh.c | |
parent | e57758a77a520c457ee824fb1ee04b0828688945 (diff) |
Plug two memory leaks when cleaning up the dh/dsa crypto structures.
Diffstat (limited to 'sbin/iked/dh.c')
-rw-r--r-- | sbin/iked/dh.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/iked/dh.c b/sbin/iked/dh.c index 15f8dd50e22..9f8ea4d3ad9 100644 --- a/sbin/iked/dh.c +++ b/sbin/iked/dh.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dh.c,v 1.8 2012/09/18 12:07:59 reyk Exp $ */ +/* $OpenBSD: dh.c,v 1.9 2012/12/15 23:18:17 reyk Exp $ */ /* $vantronix: dh.c,v 1.13 2010/05/28 15:34:35 reyk Exp $ */ /* @@ -298,6 +298,7 @@ group_free(struct group *group) if (group->ec != NULL) EC_KEY_free(group->ec); group->spec = NULL; + free(group); } struct group * |