s4:kdc: Fix leaks
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Mon, 4 Sep 2023 05:00:04 +0000 (17:00 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 14 Sep 2023 21:35:29 +0000 (21:35 +0000)
commite48df09175a6e8cfae52596baec52cc5e05a5c17
tree280bf442c9c5b97fa5a53b86f2b25db98455531c
parent5c580dbdb3e6a70c8d2f5059e2b7293a7e780414
s4:kdc: Fix leaks

Allocate variables on to a temporary context rather than on to the
potentially longā€lived context passed in by the caller.

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