From a1fd41d83407eb449f8e80e309910b402272bc2e Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 14 Mar 2012 13:19:22 +0100 Subject: s3: properly free the notify_onelevel record Signed-off-by: Stefan Metzmacher --- source3/smbd/notify_internal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/smbd/notify_internal.c') 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) { -- cgit