Hi!
The functions looks like this:
int _ecore_thread_win32_join(win32_thread *x, void **res)
{
if (!PHE(x, PHS()))
{
WaitForSingleObject(x->thread, INFINITE);
CloseHandle(x->thread);
}
if (res) *res = x->val;
return 0;
}
What I'm wondering is if there shouldn't be a "free(x);" before the return
statement. At least the complementary _ecore_thread_win32_create() will
allocate the structure using malloc(). Hopefully someone with better insight
there can verify/falsify it...
Cheers!
Uli
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel