diff --git a/docs/rh-log.txt b/docs/rh-log.txt index 37a2a0bef..61d10bf37 100644 --- a/docs/rh-log.txt +++ b/docs/rh-log.txt @@ -1,3 +1,7 @@ +January 16, 2008 (Changes by Graf Zahl) +- Fixed: The StatusBar pointer was not NULLed after being deleted. + + January 15, 2008 - Plugged more leaks in SBARINFO. - Spawned actors that have MF2_DORMANT set in their default instance now have diff --git a/src/g_level.cpp b/src/g_level.cpp index 23430fcd7..a0232652e 100644 --- a/src/g_level.cpp +++ b/src/g_level.cpp @@ -1541,6 +1541,7 @@ void G_InitNew (const char *mapname, bool bTitleLevel) if (StatusBar != NULL) { delete StatusBar; + StatusBar = NULL; } if (bTitleLevel) {