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

This commit is contained in:
Marcus Meissner 2012-10-13 17:13:37 +02:00 committed by Alexandre Julliard
parent 8af406fb00
commit c9bd05d89e
1 changed files with 1 additions and 0 deletions

View File

@ -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 );
}