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

vlendec at samba.org vlendec at samba.org
Sun Feb 26 14:20:30 GMT 2006


Author: vlendec
Date: 2006-02-26 14:20:29 +0000 (Sun, 26 Feb 2006)
New Revision: 13694

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

Log:
Committing patch from Aleksey Fedoseev <aleksey at fedoseev dot net> to NULL
out a pointer after talloc_destroy().

Volker

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-02-26 12:25:34 UTC (rev 13693)
+++ branches/SAMBA_3_0/source/smbd/open.c	2006-02-26 14:20:29 UTC (rev 13694)
@@ -1110,7 +1110,7 @@
 			DEBUG(0, ("could not get share mode lock\n"));
 		} else {
 			del_deferred_open_entry(lck, mid);
-			talloc_destroy(lck);
+			TALLOC_FREE(lck);
 		}
 
 		/* Ensure we don't reprocess this message. */

Modified: trunk/source/smbd/open.c
===================================================================
--- trunk/source/smbd/open.c	2006-02-26 12:25:34 UTC (rev 13693)
+++ trunk/source/smbd/open.c	2006-02-26 14:20:29 UTC (rev 13694)
@@ -1110,7 +1110,7 @@
 			DEBUG(0, ("could not get share mode lock\n"));
 		} else {
 			del_deferred_open_entry(lck, mid);
-			talloc_destroy(lck);
+			TALLOC_FREE(lck);
 		}
 
 		/* Ensure we don't reprocess this message. */



More information about the samba-cvs mailing list