summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-06-13 18:06:12 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:17:24 -0500
commit4d1688bf6bac74df93eb4c3e8f540f541a25390d (patch)
tree253024312ce6106b1fe54cb8f2599bf83b9621bd /source3/smbd
parent8fa2907efd694a40f7bceb7a95e8acfe84e71000 (diff)
downloadsamba-4d1688bf6bac74df93eb4c3e8f540f541a25390d.tar.gz
samba-4d1688bf6bac74df93eb4c3e8f540f541a25390d.tar.bz2
samba-4d1688bf6bac74df93eb4c3e8f540f541a25390d.zip
r16198: Fix Klocwork 1023
(This used to be commit 3a7d01afbebe5c4c36935b6128998e1327c8f856)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/open.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source3/smbd/open.c b/source3/smbd/open.c
index 633e70ac31..821feffd65 100644
--- a/source3/smbd/open.c
+++ b/source3/smbd/open.c
@@ -1905,7 +1905,6 @@ files_struct *open_directory(connection_struct *conn,
DEBUG(5,("open_directory: invalid create_disposition "
"0x%x for directory %s\n",
(unsigned int)create_disposition, fname));
- file_free(fsp);
set_saved_ntstatus(NT_STATUS_INVALID_PARAMETER);
return NULL;
}