From 3c7cbd60e5a63496a523086fdfcf5c43301e78f7 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 25 Aug 2009 16:59:25 +1000 Subject: [PATCH] fixed a double free bug on error in net export --- source4/kdc/hdb-samba4.c | 1 - 1 file changed, 1 deletion(-) diff --git a/source4/kdc/hdb-samba4.c b/source4/kdc/hdb-samba4.c index d7822540cfb..502b4e0903e 100644 --- a/source4/kdc/hdb-samba4.c +++ b/source4/kdc/hdb-samba4.c @@ -1348,7 +1348,6 @@ static krb5_error_code hdb_samba4_seq(krb5_context context, HDB *db, unsigned fl } if (ret != 0) { - talloc_free(priv); db->hdb_dbc = NULL; } else { talloc_free(mem_ctx); -- 2.11.4.GIT