summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2007-03-12 18:19:48 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:18:35 -0500
commit81c820d77dd8e4de90150a230a3c894e58444f8f (patch)
tree0d1fd5876782290628642a419ed45b334ce351ad /source3/smbd
parent24cdd7c73389c9eed981313973df2c3595222781 (diff)
downloadsamba-81c820d77dd8e4de90150a230a3c894e58444f8f.tar.gz
samba-81c820d77dd8e4de90150a230a3c894e58444f8f.tar.bz2
samba-81c820d77dd8e4de90150a230a3c894e58444f8f.zip
r21801: Fix Coverity ID # 342
(This used to be commit 8700cd71bb3af3a55f025b34b61062aa5b66b6bc)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/reply.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index c0a2e23c3d..5be086f749 100644
--- a/source3/smbd/reply.c
+++ b/source3/smbd/reply.c
@@ -2029,6 +2029,7 @@ NTSTATUS unlink_internals(connection_struct *conn, uint32 dirtype,
status = check_name(conn, fname);
if (!NT_STATUS_IS_OK(status)) {
+ CloseDir(dir_hnd);
return status;
}