]> git.ipfire.org Git - thirdparty/samba.git/commit
s4:kdc: Fix leak of sdb_entry
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Thu, 10 Aug 2023 03:11:51 +0000 (15:11 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 14 Aug 2023 04:57:34 +0000 (04:57 +0000)
commit09e13845aecb6b7e6e23a2ea4c8fccb8fe2a86f6
tree95fe3de1631c2ee4fe9a0a59b130181ae028ab3b
parent26e2e891d0cebd68555cf17df2e6bd9b819b606a
s4:kdc: Fix leak of sdb_entry

We should take the common ‘out’ path to ensure that we call
sdb_entry_free() on the entry.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/kdc/db-glue.c