Skip to content
Snippets Groups Projects
Commit 340177c3 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard
Browse files

Fixed missing wine_tsx11_unlock() on error path.

parent 74c5efeb
No related branches found
No related tags found
No related merge requests found
...@@ -176,6 +176,7 @@ int X11DRV_resize_desktop( unsigned int width, unsigned int height ) ...@@ -176,6 +176,7 @@ int X11DRV_resize_desktop( unsigned int width, unsigned int height )
if (!size_hints) if (!size_hints)
{ {
ERR("Not enough memory for window manager hints.\n" ); ERR("Not enough memory for window manager hints.\n" );
wine_tsx11_unlock();
return 0; return 0;
} }
size_hints->min_width = size_hints->max_width = width; size_hints->min_width = size_hints->max_width = width;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment