svn commit: samba r10690 - in branches/SAMBA_4_0/source/lib/events:
.
vlendec at samba.org
vlendec at samba.org
Mon Oct 3 17:36:11 GMT 2005
Author: vlendec
Date: 2005-10-03 17:36:10 +0000 (Mon, 03 Oct 2005)
New Revision: 10690
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=10690
Log:
Fix a bug that metze pointed out: Leaving the "rejecting" destructor around
prevents the memory from being freed.
Thanks,
Volker
Modified:
branches/SAMBA_4_0/source/lib/events/events_standard.c
Changeset:
Modified: branches/SAMBA_4_0/source/lib/events/events_standard.c
===================================================================
--- branches/SAMBA_4_0/source/lib/events/events_standard.c 2005-10-03 17:33:53 UTC (rev 10689)
+++ branches/SAMBA_4_0/source/lib/events/events_standard.c 2005-10-03 17:36:10 UTC (rev 10690)
@@ -357,6 +357,7 @@
/* The destructor isn't necessary anymore, we've already removed the
* event from the list. */
+ talloc_set_destructor(te, NULL);
talloc_free(te);
}
More information about the samba-cvs
mailing list