diff options
-rw-r--r-- | source3/smbd/notify_internal.c | 2 |
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) { |