diff options
author | Simo Sorce <idra@samba.org> | 2008-09-06 12:31:50 -0400 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2008-09-06 12:33:27 -0400 |
commit | 14965b7260f74fe8c49ace21562d913d37d50063 (patch) | |
tree | aa9737e7b5ba115b2d9d5a644038652d3b6cdee2 /source4/lib | |
parent | 95df0fddf66a2e85b166d7dc6678ed53adbf4c66 (diff) | |
download | samba-14965b7260f74fe8c49ace21562d913d37d50063.tar.gz samba-14965b7260f74fe8c49ace21562d913d37d50063.tar.bz2 samba-14965b7260f74fe8c49ace21562d913d37d50063.zip |
Always free tmp contexts before returning
(This used to be commit 40b71bbd718f6dee70c0611e527f55c56623dea6)
Diffstat (limited to 'source4/lib')
-rw-r--r-- | source4/lib/ldb/common/ldb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/lib/ldb/common/ldb.c b/source4/lib/ldb/common/ldb.c index ce4796dee2..9e04cc7845 100644 --- 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; } |