Fixed missing wine_tsx11_unlock() on error path.

This commit is contained in:
Michael Stefaniuc 2003-09-26 04:29:57 +00:00 committed by Alexandre Julliard
parent 74c5efeb76
commit 340177c3e3

View file

@ -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;