summaryrefslogtreecommitdiff
path: root/source3/smbd/notify_internal.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2012-03-14 13:19:22 +0100
committerStefan Metzmacher <metze@samba.org>2012-03-15 11:00:24 +0100
commita1fd41d83407eb449f8e80e309910b402272bc2e (patch)
treee84446f8e03c72c078f9679ac16b0874be5d0db0 /source3/smbd/notify_internal.c
parent21375a6e5850b22687957db0d620aa84a956b287 (diff)
downloadsamba-a1fd41d83407eb449f8e80e309910b402272bc2e.tar.gz
samba-a1fd41d83407eb449f8e80e309910b402272bc2e.tar.bz2
samba-a1fd41d83407eb449f8e80e309910b402272bc2e.zip
s3: properly free the notify_onelevel record
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/smbd/notify_internal.c')
-rw-r--r--source3/smbd/notify_internal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/notify_internal.c b/source3/smbd/notify_internal.c
index 347d3305df..985ece36c1 100644
--- a/source3/smbd/notify_internal.c
+++ b/source3/smbd/notify_internal.c
@@ -431,7 +431,7 @@ static void notify_add_onelevel(struct notify_context *notify,
return;
}
- rec = dbwrap_fetch_locked(notify->db_onelevel, talloc_tos(),
+ rec = dbwrap_fetch_locked(notify->db_onelevel, array,
make_tdb_data((uint8_t *)&e->dir_id,
sizeof(e->dir_id)));
if (rec == NULL) {