Merge branch 'master' of github.com:FreeRDP/FreeRDP
This commit is contained in:
commit
846a37b1b5
@ -626,6 +626,9 @@ void xf_DestroyWindow(xfInfo* xfi, xfWindow* window)
|
||||
if (window == NULL)
|
||||
return;
|
||||
|
||||
if (xfi->window == window)
|
||||
xfi->window = NULL;
|
||||
|
||||
if (window->gc)
|
||||
XFreeGC(xfi->display, window->gc);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user