comdlg32: Fix some memory leaks (1 of 3)
Andrew Talbot
andrew.talbot at talbotville.com
Thu Sep 13 18:16:05 CDT 2007
Changelog:
comdlg32: Fix some memory leaks.
diff -urN a/dlls/comdlg32/colordlg.c b/dlls/comdlg32/colordlg.c
--- a/dlls/comdlg32/colordlg.c 2007-05-25 20:46:03.000000000 +0100
+++ b/dlls/comdlg32/colordlg.c 2007-09-13 21:12:01.000000000 +0100
@@ -933,6 +933,8 @@
CC_PaintCross(hDlg, lpp->h, lpp->s);
CC_PaintTriangle(hDlg, lpp->l);
+ HeapFree(GetProcessHeap(), 0, lpp);
+
return res;
}
More information about the wine-patches
mailing list