https://bugzilla.novell.com/show_bug.cgi?id=337383#c3





--- Comment #3 from Miguel de Icaza <[EMAIL PROTECTED]>  2007-11-08 09:38:24 
MST ---
I would actually change this a little bit, because it seems like there could be
a race between deleting the critical section and setting it to NULL.

I would do this:

critical_section = this->sync_cs;
this->sync_cs = NULL;
DeleteCriticalSection (this->sync_cs);
g_free (critical_section);


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to