From 6a11e6226bba30988bf089ce39729536bdf2bde2 Mon Sep 17 00:00:00 2001 From: Zhang Zhaolong Date: Sun, 24 Nov 2013 16:01:11 +0800 Subject: [PATCH] fix a gdi leak bug. --- client/Windows/wf_gdi.c | 1 - 1 file changed, 1 deletion(-) diff --git a/client/Windows/wf_gdi.c b/client/Windows/wf_gdi.c index 15e9b4363..16359d858 100644 --- a/client/Windows/wf_gdi.c +++ b/client/Windows/wf_gdi.c @@ -466,7 +466,6 @@ void wf_gdi_multi_opaque_rect(wfContext* wfc, MULTI_OPAQUE_RECT_ORDER* multi_opa rect.bottom = rectangle->top + rectangle->height; brush = CreateSolidBrush(brush_color); - brush = CreateSolidBrush(brush_color); FillRect(wfc->drawing->hdc, &rect, brush); if (wfc->drawing == wfc->primary)