svn commit: samba r15960 - in branches/SAMBA_3_0/source/smbd: .

jra at samba.org jra at samba.org
Tue May 30 18:38:11 GMT 2006


Author: jra
Date: 2006-05-30 18:38:10 +0000 (Tue, 30 May 2006)
New Revision: 15960

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

Log:
Don't double-free (ensure we always free file_fsp in
the same place on error - I missed the extra free in
delay_for_oplocks).
Jeremy.

Modified:
   branches/SAMBA_3_0/source/smbd/open.c


Changeset:
Modified: branches/SAMBA_3_0/source/smbd/open.c
===================================================================
--- branches/SAMBA_3_0/source/smbd/open.c	2006-05-30 18:26:49 UTC (rev 15959)
+++ branches/SAMBA_3_0/source/smbd/open.c	2006-05-30 18:38:10 UTC (rev 15960)
@@ -703,7 +703,6 @@
 		if (!ret) {
 			DEBUG(3, ("Could not send oplock break message\n"));
 		}
-		file_free(fsp);
 	}
 
 	return delay_it;



More information about the samba-cvs mailing list