Platform/Unix/X11SharedDisplay: pass a pointer to the display to XReleaseDisplay() just to be sure client code has a valid pointer
This commit is contained in:
parent
782f116d7c
commit
10e1a9071e
8 changed files with 12 additions and 9 deletions
|
|
@ -75,7 +75,7 @@ void X11Display::destroy()
|
|||
}
|
||||
|
||||
if (m_disp) {
|
||||
XReleaseDisplay();
|
||||
XReleaseDisplay(m_disp);
|
||||
m_disp = NULL;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue