Author: tfaber
Date: Fri May 5 19:23:04 2017
New Revision: 74481
URL:
http://svn.reactos.org/svn/reactos?rev=74481&view=rev
Log:
[COMCTL32]
- Fix heap memory leak in BUTTON_DrawTextCallback
CORE-13190
Modified:
trunk/reactos/dll/win32/comctl32/button.c
Modified: trunk/reactos/dll/win32/comctl32/button.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/comctl32/button.…
==============================================================================
--- trunk/reactos/dll/win32/comctl32/button.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/comctl32/button.c [iso-8859-1] Fri May 5 19:23:04 2017
@@ -1269,6 +1269,7 @@
}
DrawTextW(hdc, text, -1, &rc, (UINT)wp);
+ HeapFree(GetProcessHeap(), 0, text);
return TRUE;
#endif
}