diff options
author | Andrew Bartlett <abartlet@samba.org> | 2009-10-14 09:10:01 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2009-10-14 10:20:02 +1100 |
commit | e0e7ca4ee83dac62f5b1d61a711a852679e0c0a0 (patch) | |
tree | 9e4989edcc39b3d8286a3c0d714aa20f693c2a11 | |
parent | 3493b62b4b6e2f36f960164c251168b50d9722a3 (diff) | |
download | samba-e0e7ca4ee83dac62f5b1d61a711a852679e0c0a0.tar.gz samba-e0e7ca4ee83dac62f5b1d61a711a852679e0c0a0.tar.bz2 samba-e0e7ca4ee83dac62f5b1d61a711a852679e0c0a0.zip |
Revert "s4:hdb-samba4 - Don't double-free "db""
This reverts commit 11a8a54c825a52d7dd6ab78bc7aeff2d719327d2.
The actual fix for bug 6801 is in hdb_end_seq_get() - this attempt
leaks 'db' instead.
Andrew Bartlett
-rw-r--r-- | source4/kdc/hdb-samba4.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/kdc/hdb-samba4.c b/source4/kdc/hdb-samba4.c index bed6ee9725..4062e13f6c 100644 --- a/source4/kdc/hdb-samba4.c +++ b/source4/kdc/hdb-samba4.c @@ -1442,6 +1442,7 @@ 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; } |