diff options
author | Volker Lendecke <vl@samba.org> | 2012-03-14 13:19:22 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2012-03-15 11:00:24 +0100 |
commit | a1fd41d83407eb449f8e80e309910b402272bc2e (patch) | |
tree | e84446f8e03c72c078f9679ac16b0874be5d0db0 /source3 | |
parent | 21375a6e5850b22687957db0d620aa84a956b287 (diff) | |
download | samba-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')
-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) { |