diff options
author | ae <ae@FreeBSD.org> | 2017-05-03 09:25:26 +0000 |
---|---|---|
committer | ae <ae@FreeBSD.org> | 2017-05-03 09:25:26 +0000 |
commit | 90f1795e78e3f13d5a49412f5dd7a349f1423fd9 (patch) | |
tree | a873d2410726041790039af694ff9ed72997696c /contrib/llvm/lib/Support/ScopedPrinter.cpp | |
parent | 81d573b54197a04eba095385616230a9712c77c2 (diff) | |
download | FreeBSD-src-90f1795e78e3f13d5a49412f5dd7a349f1423fd9.zip FreeBSD-src-90f1795e78e3f13d5a49412f5dd7a349f1423fd9.tar.gz |
MFC r317431:
Fix SP refcount leak.
PCB SP cache acquires extra reference, when SP is stored in the cache.
Release this reference when PCB is destroyed in ipsec_delete_pcbpolicy().
In ipsec_copy_pcbpolicy() release reference to SP in case if sp_in or
sp_out are not NULL.
Reported by: Slawa Olhovchenkov <slw at zxy spb ru>
Diffstat (limited to 'contrib/llvm/lib/Support/ScopedPrinter.cpp')
0 files changed, 0 insertions, 0 deletions