[SCM] Samba Shared Repository - branch v3-5-test updated
Volker Lendecke
vlendec at samba.org
Thu Nov 5 06:43:13 MST 2009
The branch, v3-5-test has been updated
via cb5145e... s3: Fix the talloc hierarchy in notify_remove_onelevel
from 872f59b... s3: Add parameter "ctdb timeout"
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-5-test
- Log -----------------------------------------------------------------
commit cb5145e18aac219e27010637632f060c59852b7f
Author: Volker Lendecke <vl at samba.org>
Date: Thu Nov 5 14:29:05 2009 +0100
s3: Fix the talloc hierarchy in notify_remove_onelevel
We want to free the record early, not when talloc_tos() is free'ed.
-----------------------------------------------------------------------
Summary of changes:
source3/smbd/notify_internal.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source3/smbd/notify_internal.c b/source3/smbd/notify_internal.c
index 973db7b..3f61de5 100644
--- a/source3/smbd/notify_internal.c
+++ b/source3/smbd/notify_internal.c
@@ -551,7 +551,7 @@ NTSTATUS notify_remove_onelevel(struct notify_context *notify,
}
rec = notify->db_onelevel->fetch_locked(
- notify->db_onelevel, talloc_tos(),
+ notify->db_onelevel, array,
make_tdb_data((uint8_t *)fid, sizeof(*fid)));
if (rec == NULL) {
DEBUG(10, ("notify_remove_onelevel: fetch_locked for %s failed"
--
Samba Shared Repository
More information about the samba-cvs
mailing list