Free the private data pointer, THEN set it to NULL.
This commit is contained in:
parent
1da0242f58
commit
bb7959b58a
|
@ -112,8 +112,8 @@ void X11DRV_WND_Finalize(WND *wndPtr)
|
|||
pWndDriverData->window
|
||||
);
|
||||
}
|
||||
wndPtr->pDriverData = NULL;
|
||||
HeapFree(SystemHeap, 0, wndPtr->pDriverData);
|
||||
wndPtr->pDriverData = NULL;
|
||||
}
|
||||
|
||||
/**********************************************************************
|
||||
|
|
Loading…
Reference in New Issue