From: Joseph Sutton Date: Mon, 20 Mar 2023 02:11:54 +0000 (+1300) Subject: s4:kdc: Fix leak X-Git-Tag: talloc-2.4.1~1349 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fbed57b86bc5b358a7373c134ce26a012b4280ef;p=thirdparty%2Fsamba.git s4:kdc: Fix leak Signed-off-by: Joseph Sutton Reviewed-by: Andrew Bartlett --- diff --git a/source4/kdc/pac-glue.c b/source4/kdc/pac-glue.c index fc7d657dd42..b4f44791197 100644 --- a/source4/kdc/pac-glue.c +++ b/source4/kdc/pac-glue.c @@ -1725,6 +1725,7 @@ WERROR samba_rodc_confirm_user_is_allowed(uint32_t num_object_sids, rodc_machine_account->msgs[0], "objectSid"); if (rodc_machine_account_sid == NULL) { + TALLOC_FREE(frame); return WERR_DS_DRA_BAD_DN; }