From 71a5ea93ff76dee94f23a4f69dd1ede0a12255f6 Mon Sep 17 00:00:00 2001 From: Matthias Dieter Wallnöfer Date: Tue, 16 Nov 2010 08:34:27 +0100 Subject: s4:objectclass LDB module - free "nc_root" after name context comparisons --- source4/dsdb/samdb/ldb_modules/objectclass.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source4/dsdb/samdb/ldb_modules') 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, -- cgit