artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1db5fd2
)
Fix leak of esnxf if esn ore noesn are configured explicitly.
author
tobhe
<tobhe@openbsd.org>
Mon, 11 Apr 2022 20:41:21 +0000
(20:41 +0000)
committer
tobhe
<tobhe@openbsd.org>
Mon, 11 Apr 2022 20:41:21 +0000
(20:41 +0000)
sbin/iked/parse.y
patch
|
blob
|
history
diff --git
a/sbin/iked/parse.y
b/sbin/iked/parse.y
index
c714e56
..
dc02311
100644
(file)
--- a/
sbin/iked/parse.y
+++ b/
sbin/iked/parse.y
@@
-1,4
+1,4
@@
-/* $OpenBSD: parse.y,v 1.1
39 2021/12/23 09:15:59 jsg Exp $
*/
+/* $OpenBSD: parse.y,v 1.1
40 2022/04/11 20:41:21 tobhe Exp $
*/
/*
* Copyright (c) 2019 Tobias Heider <tobias.heider@stusta.de>
@@
-2919,6
+2919,7
@@
done:
free(ipsec_sa->xfs[i]->encxf);
free(ipsec_sa->xfs[i]->groupxf);
free(ipsec_sa->xfs[i]->prfxf);
+ free(ipsec_sa->xfs[i]->esnxf);
free(ipsec_sa->xfs[i]);
}
free(ipsec_sa->xfs);