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 | 40b71bbd718f6dee70c0611e527f55c56623dea6 (patch) | |
tree | 2a2b5a901f82cc2f78bff41469fa976ce9faeab9 | |
parent | 3f4eb091f0dcc53acbfdc63a8d82a5a0f28954a6 (diff) | |
download | samba-40b71bbd718f6dee70c0611e527f55c56623dea6.tar.gz samba-40b71bbd718f6dee70c0611e527f55c56623dea6.tar.xz samba-40b71bbd718f6dee70c0611e527f55c56623dea6.zip |
Always free tmp contexts before returning
-rw-r--r-- | source/lib/ldb/common/ldb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/lib/ldb/common/ldb.c b/source/lib/ldb/common/ldb.c index ce4796dee2b..9e04cc78450 100644 --- 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; } |