Commit bb7959b5 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

Free the private data pointer, THEN set it to NULL.

parent 1da0242f
......@@ -112,8 +112,8 @@ void X11DRV_WND_Finalize(WND *wndPtr)
pWndDriverData->window
);
}
wndPtr->pDriverData = NULL;
HeapFree(SystemHeap, 0, wndPtr->pDriverData);
wndPtr->pDriverData = NULL;
}
/**********************************************************************
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment