git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3493b62
)
Revert "s4:hdb-samba4 - Don't double-free "db""
author
Andrew Bartlett
<abartlet@samba.org>
Tue, 13 Oct 2009 22:10:01 +0000
(09:10 +1100)
committer
Andrew Bartlett
<abartlet@samba.org>
Tue, 13 Oct 2009 23:20:02 +0000
(10:20 +1100)
This reverts commit
11a8a54c825a52d7dd6ab78bc7aeff2d719327d2
.
The actual fix for bug 6801 is in hdb_end_seq_get() - this attempt
leaks 'db' instead.
Andrew Bartlett
source4/kdc/hdb-samba4.c
patch
|
blob
|
history
diff --git
a/source4/kdc/hdb-samba4.c
b/source4/kdc/hdb-samba4.c
index bed6ee972593b3469fa8c6e35d3ae62195249bb8..4062e13f6c17f8778eba9a5c19a8c380a9d0adde 100644
(file)
--- 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;
}