gdi32: Fix memory leak (Valgrind).

Signed-off-by: Daniel Lehman <dlehman25@gmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Daniel Lehman 2018-12-19 21:35:05 -08:00 committed by Alexandre Julliard
parent ee61493d9c
commit 3b8fde3f08
1 changed files with 1 additions and 0 deletions

View File

@ -1035,6 +1035,7 @@ DWORD dibdrv_PutImage( PHYSDEV dev, HRGN clip, BITMAPINFO *info,
&dc->brush_org, rop );
free_clipped_rects( &clipped_rects );
}
free_dib_info( &src_dib );
if (tmp_rgn) DeleteObject( tmp_rgn );
return ret;