diff options
author | Simo Sorce <idra@samba.org> | 2006-10-16 12:30:02 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:21:12 -0500 |
commit | fd82e3f39b71bf37a2aa0d63cc127e89fb8dd438 (patch) | |
tree | ca30ccda2a4b4f17b0e4adb3bf8421b6bbd14e28 | |
parent | e350ca0bcbc76d4298a4c24ccef9e430ba75b8a8 (diff) | |
download | samba-fd82e3f39b71bf37a2aa0d63cc127e89fb8dd438.tar.gz samba-fd82e3f39b71bf37a2aa0d63cc127e89fb8dd438.tar.bz2 samba-fd82e3f39b71bf37a2aa0d63cc127e89fb8dd438.zip |
r19337: never alloc on module unless you mean to attach a context to
it to keep the data around as long as the module lives
(This used to be commit d2073c1f7e1bc674358df5da0dc09e183b4b8712)
-rw-r--r-- | source4/dsdb/samdb/ldb_modules/entryUUID.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/entryUUID.c b/source4/dsdb/samdb/ldb_modules/entryUUID.c index 215d777d00..38f366dfa2 100644 --- a/source4/dsdb/samdb/ldb_modules/entryUUID.c +++ b/source4/dsdb/samdb/ldb_modules/entryUUID.c @@ -510,7 +510,7 @@ static int find_base_dns(struct ldb_module *module, "namingContexts", NULL }; - req = talloc(module, struct ldb_request); + req = talloc(entryUUID_private, struct ldb_request); if (req == NULL) { ldb_set_errstring(module->ldb, "Out of Memory"); return LDB_ERR_OPERATIONS_ERROR; |