git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95df0fd
)
Always free tmp contexts before returning
author
Simo Sorce
<idra@samba.org>
Sat, 6 Sep 2008 16:31:50 +0000
(12:31 -0400)
committer
Simo Sorce
<idra@samba.org>
Sat, 6 Sep 2008 16:33:27 +0000
(12:33 -0400)
(This used to be commit
40b71bbd718f6dee70c0611e527f55c56623dea6
)
source4/lib/ldb/common/ldb.c
patch
|
blob
|
history
diff --git
a/source4/lib/ldb/common/ldb.c
b/source4/lib/ldb/common/ldb.c
index ce4796dee2b02d8659ee3fe61aad175b93eb2152..9e04cc78450275bdcffb6ff9242ba19c436d31be 100644
(file)
--- a/
source4/lib/ldb/common/ldb.c
+++ b/
source4/lib/ldb/common/ldb.c
@@
-97,6
+97,7
@@
void ldb_set_default_dns(struct ldb_context *ldb)
if (res->count != 1) {
talloc_free(res);
+ talloc_free(tmp_ctx);
return;
}