summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/libads/kerberos.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/libads/kerberos.c b/source3/libads/kerberos.c
index 3183e26c85..50a409c1af 100644
--- a/source3/libads/kerberos.c
+++ b/source3/libads/kerberos.c
@@ -701,6 +701,7 @@ static char *get_kdc_ip_string(char *mem_ctx,
char *kdc_str = print_kdc_line(mem_ctx, "", pss, kdc_name);
if (kdc_str == NULL) {
+ TALLOC_FREE(frame);
return NULL;
}