summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2009-10-13 17:36:58 +0200
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2009-10-13 17:36:58 +0200
commit11a8a54c825a52d7dd6ab78bc7aeff2d719327d2 (patch)
tree25a97cd268681e278b1ef855dd701bc0a1ed3f11 /source4
parentc183acc782ffa881dac770b093f3a50cc24b6262 (diff)
downloadsamba-11a8a54c825a52d7dd6ab78bc7aeff2d719327d2.tar.gz
samba-11a8a54c825a52d7dd6ab78bc7aeff2d719327d2.tar.bz2
samba-11a8a54c825a52d7dd6ab78bc7aeff2d719327d2.zip
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.
Diffstat (limited to 'source4')
-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 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;
}