Marcus Meissner : winex11.drv: Free bitmap info after being done (Coverity) .
Alexandre Julliard
julliard at winehq.org
Mon Oct 15 14:29:05 CDT 2012
Module: wine
Branch: master
Commit: c9bd05d89e7c851af350f1172c074e17c32fc24a
URL: http://source.winehq.org/git/wine.git/?a=commit;h=c9bd05d89e7c851af350f1172c074e17c32fc24a
Author: Marcus Meissner <marcus at jet.franken.de>
Date: Sat Oct 13 17:13:37 2012 +0200
winex11.drv: Free bitmap info after being done (Coverity).
---
dlls/winex11.drv/systray.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/winex11.drv/systray.c b/dlls/winex11.drv/systray.c
index ed09376..5f0791e 100644
--- a/dlls/winex11.drv/systray.c
+++ b/dlls/winex11.drv/systray.c
@@ -432,6 +432,7 @@ static void repaint_tray_icon( struct tray_icon *icon )
UpdateLayeredWindow( icon->window, 0, NULL, NULL, hdc, NULL, 0, &blend, ULW_ALPHA );
done:
+ HeapFree (GetProcessHeap(), 0, info);
if (hdc) DeleteDC( hdc );
if (dib) DeleteObject( dib );
}
More information about the wine-cvs
mailing list