[COMCTL32] syslink: Don't free the return value of WM_CTLCOLORSTATIC. CORE-13605

-This is a bug in wine and should be sent upstream
This commit is contained in:
Giannis Adamopoulos 2017-11-24 00:15:57 +02:00
parent fc6c07c385
commit 4a843c4e85

View file

@ -791,7 +791,9 @@ static LRESULT SYSLINK_Draw (const SYSLINK_INFO *infoPtr, HDC hdc)
}
else SetBkMode( hdc, TRANSPARENT );
#ifndef __REACTOS__
DeleteObject(hBrush);
#endif
LIST_FOR_EACH_ENTRY(Current, &infoPtr->Items, DOC_ITEM, entry)
{