Commit 2d1e3e5d authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

win32u: Don't use free_region in alloc_region.

parent ed928dc4
...@@ -451,7 +451,7 @@ static WINEREGION *alloc_region( INT n ) ...@@ -451,7 +451,7 @@ static WINEREGION *alloc_region( INT n )
if (rgn && !init_region( rgn, n )) if (rgn && !init_region( rgn, n ))
{ {
free_region( rgn ); free( rgn );
rgn = NULL; rgn = NULL;
} }
return rgn; return rgn;
......
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