From: Volker Lendecke Date: Wed, 14 Mar 2012 12:19:22 +0000 (+0100) Subject: s3: properly free the notify_onelevel record X-Git-Tag: tdb-1.2.10~156 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a1fd41d83407eb449f8e80e309910b402272bc2e;p=thirdparty%2Fsamba.git s3: properly free the notify_onelevel record Signed-off-by: Stefan Metzmacher --- diff --git a/source3/smbd/notify_internal.c b/source3/smbd/notify_internal.c index 347d3305dfe..985ece36c1c 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) {