1
0
Fork 0

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:
Henrik Hautakoski 2020-10-17 14:18:41 +02:00
parent 421bf819d5
commit d73c787f40
8 changed files with 12 additions and 9 deletions

View file

@ -16,7 +16,7 @@ X11EventQueue::X11EventQueue()
X11EventQueue::~X11EventQueue()
{
if (m_disp) {
XReleaseDisplay();
XReleaseDisplay(m_disp);
}
}