diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/open.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/open.c b/source3/smbd/open.c index 258e0e6021..8913db8380 100644 --- a/source3/smbd/open.c +++ b/source3/smbd/open.c @@ -1110,7 +1110,7 @@ files_struct *open_file_ntcreate(connection_struct *conn, DEBUG(0, ("could not get share mode lock\n")); } else { del_deferred_open_entry(lck, mid); - talloc_destroy(lck); + TALLOC_FREE(lck); } /* Ensure we don't reprocess this message. */ |