Module: wine Branch: master Commit: c9bd05d89e7c851af350f1172c074e17c32fc24a URL: http://source.winehq.org/git/wine.git/?a=commit;h=c9bd05d89e7c851af350f1172c...
Author: Marcus Meissner marcus@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 ); }