netipsec: Don't leak memory when deep copy fails
Reported by: Coverity CID: 1331693 Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
parent
2769d06203
commit
5a8c498f2e
@ -977,6 +977,7 @@ fail:
|
||||
ipsec_delisr(p);
|
||||
p = NULL;
|
||||
}
|
||||
KEY_FREESP(&dst);
|
||||
return (NULL);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user