SMATCH: missing LeaveCriticalSection in error path
Dmitry Timoshkov
dmitry at baikal.ru
Sat Feb 22 21:39:33 CST 2003
"Michael Stefaniuc" <mstefani at redhat.de> wrote:
> Changelog:
> Michael Stefaniuc <mstefani at 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.
More information about the wine-devel
mailing list