svn commit: samba r16198 - branches/SAMBA_3_0/source/smbd trunk/source/smbd

vlendec at samba.org vlendec at samba.org
Tue Jun 13 18:06:13 GMT 2006


Author: vlendec
Date: 2006-06-13 18:06:12 +0000 (Tue, 13 Jun 2006)
New Revision: 16198

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=16198

Log:
Fix Klocwork 1023
Modified:
   branches/SAMBA_3_0/source/smbd/open.c
   trunk/source/smbd/open.c


Changeset:
Modified: branches/SAMBA_3_0/source/smbd/open.c
===================================================================
--- branches/SAMBA_3_0/source/smbd/open.c	2006-06-13 18:01:58 UTC (rev 16197)
+++ branches/SAMBA_3_0/source/smbd/open.c	2006-06-13 18:06:12 UTC (rev 16198)
@@ -1905,7 +1905,6 @@
 			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;
 	}

Modified: trunk/source/smbd/open.c
===================================================================
--- trunk/source/smbd/open.c	2006-06-13 18:01:58 UTC (rev 16197)
+++ trunk/source/smbd/open.c	2006-06-13 18:06:12 UTC (rev 16198)
@@ -1905,7 +1905,6 @@
 			DEBUG(5,("open_directory: invalid create_disposition "
 				 "0x%x for directory %s\n",
 				 (unsigned int)create_disposition, fname));
-			file_free(fsp);
 			return NT_STATUS_INVALID_PARAMETER;
 	}
 



More information about the samba-cvs mailing list