From b5247182f44020ef989640b83eccd7b653924413 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Wed, 28 Jul 2021 09:48:52 +0300 Subject: [PATCH] - fixed premature destruction of status bar Status bar was already freed while `FCajunMaster::RemoveAllBots()` function may still access it Status bar is destroyed a bit later in `P_Shutdown()` function https://forum.zdoom.org/viewtopic.php?t=72843 --- src/d_main.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/d_main.cpp b/src/d_main.cpp index 007c1adce..5014bfb62 100644 --- a/src/d_main.cpp +++ b/src/d_main.cpp @@ -3736,7 +3736,6 @@ void D_Cleanup() FreeSBarInfoScript(); // clean up game state - ST_Clear(); D_ErrorCleanup (); P_Shutdown();