svn commit: samba r15678 - in trunk/source/smbd: .
jra at samba.org
jra at samba.org
Thu May 18 04:05:38 GMT 2006
Author: jra
Date: 2006-05-18 04:05:37 +0000 (Thu, 18 May 2006)
New Revision: 15678
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=15678
Log:
Fix coverity error #293. Resource leak in error path in
the changed NT_STATUS fsp code.
Jeremy.
Modified:
trunk/source/smbd/files.c
Changeset:
Modified: trunk/source/smbd/files.c
===================================================================
--- trunk/source/smbd/files.c 2006-05-18 02:05:56 UTC (rev 15677)
+++ trunk/source/smbd/files.c 2006-05-18 04:05:37 UTC (rev 15678)
@@ -96,6 +96,7 @@
fsp->fh = SMB_MALLOC_P(struct fd_handle);
if (!fsp->fh) {
+ SAFE_FREE(fsp);
return NT_STATUS_NO_MEMORY;
}
More information about the samba-cvs
mailing list