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:
parent
ee61493d9c
commit
3b8fde3f08
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue