git.samba.org
/
nivanova
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f4eb09
)
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)
source/lib/ldb/common/ldb.c
patch
|
blob
|
history
diff --git
a/source/lib/ldb/common/ldb.c
b/source/lib/ldb/common/ldb.c
index ce4796dee2b02d8659ee3fe61aad175b93eb2152..9e04cc78450275bdcffb6ff9242ba19c436d31be 100644
(file)
--- a/
source/lib/ldb/common/ldb.c
+++ b/
source/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;
}