summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2010-12-16 15:51:55 +1100
committerAndrew Bartlett <abartlet@samba.org>2010-12-16 06:42:56 +0100
commit25163380239abbad28f1656c42e6fab1b92473d9 (patch)
tree6ac441e3766bc38222cb568e5a48af408d4a58d8 /source4
parenteda1972b68819b66bd11d6286753f03d083694ec (diff)
downloadsamba-25163380239abbad28f1656c42e6fab1b92473d9.tar.gz
samba-25163380239abbad28f1656c42e6fab1b92473d9.tar.bz2
samba-25163380239abbad28f1656c42e6fab1b92473d9.zip
s4-dsdb Don't talloc_free() ares on failure, as LDB might free it later
We need to make LDB consistent here (indexed vs unindexed behaviour differs here!), but for the moment this is the easiest way out of a segfault. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Dec 16 06:42:56 CET 2010 on sn-devel-104
Diffstat (limited to 'source4')
-rw-r--r--source4/dsdb/samdb/ldb_modules/descriptor.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/descriptor.c b/source4/dsdb/samdb/ldb_modules/descriptor.c
index 0ea91ba600..b96e5b5ccd 100644
--- a/source4/dsdb/samdb/ldb_modules/descriptor.c
+++ b/source4/dsdb/samdb/ldb_modules/descriptor.c
@@ -545,7 +545,6 @@ static int descriptor_search_callback(struct ldb_request *req, struct ldb_reply
}
fail:
- talloc_free(ares);
return ldb_module_done(ac->req, NULL, NULL, ret);
}