summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-02-26 14:20:29 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:10:24 -0500
commitf8fccdfd370d6a0291bd38c2cd081a605f0bceac (patch)
tree45d5cb18d59b512ef732a2ec085084f4c9413fc6 /source3
parent9fffb6ab5b9eebdc3173ad63b90aec974f18ab53 (diff)
downloadsamba-f8fccdfd370d6a0291bd38c2cd081a605f0bceac.tar.gz
samba-f8fccdfd370d6a0291bd38c2cd081a605f0bceac.tar.bz2
samba-f8fccdfd370d6a0291bd38c2cd081a605f0bceac.zip
r13694: Committing patch from Aleksey Fedoseev <aleksey at fedoseev dot net> to NULL
out a pointer after talloc_destroy(). Volker (This used to be commit 788e52eb5d17a8f5b41b6ad5244ccf448fc81a36)
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/open.c2
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. */