dfhack/plugins/embark-assistant
bseiller 60e83046f8 Prevent accidental double-frees
- matcher.cpp, survey.cpp: setting the state pointer to null/nullptr in ::shutdown() to prevent errors caused by accidental double-frees - an additional check if the pointer is null already is not necessary as the standard guarantees that nothing happens if delete is called on a nullpointer

Co-Authored-By: Alan <3719547+lethosor@users.noreply.github.com>
2021-02-20 22:43:12 +01:00
..
CMakeLists.txt
defs.h
embark-assistant.cpp
embark-assistant.h
finder_ui.cpp
finder_ui.h
help_ui.cpp
help_ui.h
matcher.cpp Prevent accidental double-frees 2021-02-20 22:43:12 +01:00
matcher.h
overlay.cpp
overlay.h
screen.cpp
screen.h
survey.cpp Prevent accidental double-frees 2021-02-20 22:43:12 +01:00
survey.h