From 11a8a54c825a52d7dd6ab78bc7aeff2d719327d2 Mon Sep 17 00:00:00 2001 From: Matthias Dieter Wallnöfer Date: Tue, 13 Oct 2009 17:36:58 +0200 Subject: s4:hdb-samba4 - Don't double-free "db" "db" is freed anyway after the destructor terminates so this does really make no sense here (rather it makes code crash). Should fix bug #6801. --- source4/kdc/hdb-samba4.c | 1 - 1 file changed, 1 deletion(-) (limited to 'source4/kdc') diff --git a/source4/kdc/hdb-samba4.c b/source4/kdc/hdb-samba4.c index 4062e13f6c..bed6ee9725 100644 --- a/source4/kdc/hdb-samba4.c +++ b/source4/kdc/hdb-samba4.c @@ -1442,7 +1442,6 @@ static krb5_error_code hdb_samba4_nextkey(krb5_context context, HDB *db, unsigne static krb5_error_code hdb_samba4_destroy(krb5_context context, HDB *db) { - talloc_free(db); return 0; } -- cgit