Commit 3b8fde3f authored by Daniel Lehman's avatar Daniel Lehman Committed by Alexandre Julliard

gdi32: Fix memory leak (Valgrind).

parent ee61493d
......@@ -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;
......
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