summaryrefslogtreecommitdiff
path: root/source4/dsdb/samdb
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-06-02 19:44:22 +0200
committerMatthias Dieter Wallnöfer <mdw@samba.org>2010-06-07 14:47:19 +0200
commit6afa5a733c3ab12fd03e6980898e21f8d112bc3b (patch)
tree3a00e1b7e3eb357b765a1900f926f1b4cc179db4 /source4/dsdb/samdb
parent2d3760c04cd4a17a8c85196a0a7c4275e3b7050c (diff)
downloadsamba-6afa5a733c3ab12fd03e6980898e21f8d112bc3b.tar.gz
samba-6afa5a733c3ab12fd03e6980898e21f8d112bc3b.tar.bz2
samba-6afa5a733c3ab12fd03e6980898e21f8d112bc3b.zip
s4:objectclass LDB module - this "talloc_steal" is not necessary
The "parent_dn" was created on the "ac" context which lives anyway longer than this child request.
Diffstat (limited to 'source4/dsdb/samdb')
-rw-r--r--source4/dsdb/samdb/ldb_modules/objectclass.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/objectclass.c b/source4/dsdb/samdb/ldb_modules/objectclass.c
index 396ebac7b3..22993e4080 100644
--- a/source4/dsdb/samdb/ldb_modules/objectclass.c
+++ b/source4/dsdb/samdb/ldb_modules/objectclass.c
@@ -437,7 +437,6 @@ static int objectclass_add(struct ldb_module *module, struct ldb_request *req)
if (ret != LDB_SUCCESS) {
return ret;
}
- talloc_steal(search_req, parent_dn);
ac->step_fn = objectclass_do_add;