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