svn commit: r299628 - stable/9/sys/netipsec
Garrett Cooper
ngie at FreeBSD.org
Fri May 13 08:51:52 UTC 2016
Author: ngie
Date: Fri May 13 08:51:51 2016
New Revision: 299628
URL: https://svnweb.freebsd.org/changeset/base/299628
Log:
MFstable/10 r299627:
MFC r298676:
r298676 (by cem):
netipsec: Don't leak memory when deep copy fails
CID: 1331693
Modified:
stable/9/sys/netipsec/ipsec.c
Directory Properties:
stable/9/ (props changed)
stable/9/sys/ (props changed)
Modified: stable/9/sys/netipsec/ipsec.c
==============================================================================
--- stable/9/sys/netipsec/ipsec.c Fri May 13 08:49:29 2016 (r299627)
+++ stable/9/sys/netipsec/ipsec.c Fri May 13 08:51:51 2016 (r299628)
@@ -936,6 +936,7 @@ fail:
ipsec_delisr(p);
p = NULL;
}
+ KEY_FREESP(&dst);
return (NULL);
}
More information about the svn-src-stable-9
mailing list