From 4a843c4e855b6c05c6ea1bc381851f16f899935b Mon Sep 17 00:00:00 2001 From: Giannis Adamopoulos Date: Fri, 24 Nov 2017 00:15:57 +0200 Subject: [PATCH] [COMCTL32] syslink: Don't free the return value of WM_CTLCOLORSTATIC. CORE-13605 -This is a bug in wine and should be sent upstream --- dll/win32/comctl32/syslink.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dll/win32/comctl32/syslink.c b/dll/win32/comctl32/syslink.c index 6ba1a0b5b10..675ef624228 100644 --- a/dll/win32/comctl32/syslink.c +++ b/dll/win32/comctl32/syslink.c @@ -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) { -- 2.17.1