23 Feb
2003
23 Feb
'03
3:39 a.m.
"Michael Stefaniuc" <mstefani(a)redhat.de> wrote:
Changelog: Michael Stefaniuc <mstefani(a)redhat.com> - add missing LeaveCriticalSection's in error path.
Michael, I'm just curious, how hard it would be to adapt your SMATCH script for finding EnterCriticalSection/LeaveCriticalSection pair matching to do a similar work with wine_tsx11_lock/wine_tsx11_unlock, GDI_GetObjPtr/GDI_ReleaseObj, DC_GetDC[Ptr|Update]/GDI_ReleaseObj, USER_Lock/USER_Unlock, WIN_GetPtr/WIN_ReleasePtr, WIN_FindWndPtr/ WIN_ReleaseWndPtr and some other internal Wine locks? -- Dmitry.