summaryrefslogtreecommitdiff
path: root/source4/dsdb
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-11-16 08:34:27 +0100
committerMatthias Dieter Wallnöfer <mdw@samba.org>2010-11-16 07:59:15 +0000
commit71a5ea93ff76dee94f23a4f69dd1ede0a12255f6 (patch)
treebf4e08612f1aff0f5e73dbbcc9c271edb6ed08d6 /source4/dsdb
parentf99403e45af7d13e7d2c2184bea391f4a83954cc (diff)
downloadsamba-71a5ea93ff76dee94f23a4f69dd1ede0a12255f6.tar.gz
samba-71a5ea93ff76dee94f23a4f69dd1ede0a12255f6.tar.bz2
samba-71a5ea93ff76dee94f23a4f69dd1ede0a12255f6.zip
s4:objectclass LDB module - free "nc_root" after name context comparisons
Diffstat (limited to 'source4/dsdb')
-rw-r--r--source4/dsdb/samdb/ldb_modules/objectclass.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/objectclass.c b/source4/dsdb/samdb/ldb_modules/objectclass.c
index 19feaa5c15..5a7c67ea31 100644
--- a/source4/dsdb/samdb/ldb_modules/objectclass.c
+++ b/source4/dsdb/samdb/ldb_modules/objectclass.c
@@ -859,6 +859,8 @@ static int objectclass_modify(struct ldb_module *module, struct ldb_request *req
"objectclass: object class changes on objects under the standard name contexts not allowed!");
return LDB_ERR_UNWILLING_TO_PERFORM;
}
+
+ talloc_free(nc_root);
}
ret = ldb_build_mod_req(&down_req, ldb, ac,