git.samba.org
/
ira
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
s4:objectclass LDB module - free "nc_root" after name context comparisons
[ira/wip.git]
/
source4
/
dsdb
/
samdb
/
ldb_modules
/
objectclass.c
diff --git
a/source4/dsdb/samdb/ldb_modules/objectclass.c
b/source4/dsdb/samdb/ldb_modules/objectclass.c
index 19feaa5c15bbaf68d4b1ef31db0395c66d9cee08..5a7c67ea314ffedbf3f25507675ce3eb0e2b8d99 100644
(file)
--- 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,