mirror of
https://github.com/reactos/reactos.git
synced 2024-11-27 21:43:32 +08:00
4661bc006d
Initialize a window's ThreadListEntry as an empty list on creation and only remove the window from the list on destruction, when the entry is not an empty list. Previously the window creation could fail before the list entry was initialized and the window would get destroyed after that, resulting in a NULL pointer dereference. |
||
---|---|---|
.. | ||
ntuser | ||
rtl | ||
user32 | ||
winsrv |