Commit c9bd05d8 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

winex11.drv: Free bitmap info after being done (Coverity).

parent 8af406fb
......@@ -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 );
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment