summaryrefslogtreecommitdiff
path: root/source4/dsdb
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2009-04-03 10:33:12 +1100
committerAndrew Bartlett <abartlet@samba.org>2009-04-03 10:33:12 +1100
commit6e6094d780d372d0bc6cdf3bbdab360b5cd61219 (patch)
treeef6c72c4306d1e246797daed72f82453e9870d3b /source4/dsdb
parent2f04b7d29a9e93152ff40a04afa50d3755ff0a25 (diff)
downloadsamba-6e6094d780d372d0bc6cdf3bbdab360b5cd61219.tar.gz
samba-6e6094d780d372d0bc6cdf3bbdab360b5cd61219.tar.bz2
samba-6e6094d780d372d0bc6cdf3bbdab360b5cd61219.zip
s4:schema Don't free mem_ctx before it is initilised
Diffstat (limited to 'source4/dsdb')
-rw-r--r--source4/dsdb/schema/schema_set.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source4/dsdb/schema/schema_set.c b/source4/dsdb/schema/schema_set.c
index 9f23088c97..725fe845ad 100644
--- a/source4/dsdb/schema/schema_set.c
+++ b/source4/dsdb/schema/schema_set.c
@@ -57,7 +57,6 @@ static int dsdb_schema_set_attributes(struct ldb_context *ldb, struct dsdb_schem
ldb_schema_attribute_set_override_handler(ldb, dsdb_attribute_handler_override, schema);
if (!write_attributes) {
- talloc_free(mem_ctx);
return ret;
}