summaryrefslogtreecommitdiff
path: root/source4/kdc
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2009-08-25 16:59:25 +1000
committerAndrew Tridgell <tridge@samba.org>2009-08-25 16:59:25 +1000
commit3c7cbd60e5a63496a523086fdfcf5c43301e78f7 (patch)
tree08293de515c74fe101f582e7564740fd8be3113d /source4/kdc
parent436d8b6e06c555b2f3dabad8218f08b713e7664c (diff)
downloadsamba-3c7cbd60e5a63496a523086fdfcf5c43301e78f7.tar.gz
samba-3c7cbd60e5a63496a523086fdfcf5c43301e78f7.tar.bz2
samba-3c7cbd60e5a63496a523086fdfcf5c43301e78f7.zip
fixed a double free bug on error in net export
Diffstat (limited to 'source4/kdc')
-rw-r--r--source4/kdc/hdb-samba4.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source4/kdc/hdb-samba4.c b/source4/kdc/hdb-samba4.c
index d7822540cf..502b4e0903 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);