Commit 340177c3 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

Fixed missing wine_tsx11_unlock() on error path.

parent 74c5efeb
......@@ -176,6 +176,7 @@ int X11DRV_resize_desktop( unsigned int width, unsigned int height )
if (!size_hints)
{
ERR("Not enough memory for window manager hints.\n" );
wine_tsx11_unlock();
return 0;
}
size_hints->min_width = size_hints->max_width = width;
......
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