aboutsummaryrefslogtreecommitdiff
path: root/contrib/llvm-project/llvm/lib/Target/AMDGPU/(public-mirror)
diff options
context:
space:
mode:
authorKristof Provost <kp@FreeBSD.org>2024-11-09 09:53:37 +0000
committerKristof Provost <kp@FreeBSD.org>2024-11-13 09:34:08 +0000
commit371bd29d4b22257a7e92e1e711cca3d94cfbd00d (patch)
tree43977d16182e2d3e77bdcba5342e877fae1bd5b6 /contrib/llvm-project/llvm/lib/Target/AMDGPU/(public-mirror)
parentfc595a6b76642dfdfdb8e6f9b9bbc734e95fb59c (diff)
downloadsrc-371bd29d4b22257a7e92e1e711cca3d94cfbd00d.tar.gz
src-371bd29d4b22257a7e92e1e711cca3d94cfbd00d.zip
pf: fix potential state key leak
If we fail to attach the new state keys in pf_state_key_attach() we are expected to free both keys. Do so. Note that in some scenarios both key are the same, so check for that before freeing. MFC after: 2 weeks Sponsored by: Rubicon Communications, LLC ("Netgate") Differential Revision: https://reviews.freebsd.org/D47495
Diffstat (limited to 'contrib/llvm-project/llvm/lib/Target/AMDGPU/(public-mirror)')
0 files changed, 0 insertions, 0 deletions