mirror of https://github.com/FreeRDP/FreeRDP
xfreerdp: fix segfault with --gdi sw on disconnect
This commit is contained in:
parent
8e88983a62
commit
fdfc817fb6
|
@ -904,7 +904,9 @@ void xf_window_free(xfInfo* xfi)
|
|||
}
|
||||
|
||||
freerdp_clrconv_free(xfi->clrconv);
|
||||
gdi_DeleteDC(xfi->hdc);
|
||||
|
||||
if (xfi->hdc)
|
||||
gdi_DeleteDC(xfi->hdc);
|
||||
|
||||
xf_tsmf_uninit(xfi);
|
||||
xf_cliprdr_uninit(xfi);
|
||||
|
|
Loading…
Reference in New Issue