summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 973db7b7b1..3f61de579d 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"