summaryrefslogtreecommitdiff
path: root/src/ui/ui_earnings.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/ui_earnings.cpp')
-rw-r--r--src/ui/ui_earnings.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ui/ui_earnings.cpp b/src/ui/ui_earnings.cpp
index cb6c848..afe0210 100644
--- a/src/ui/ui_earnings.cpp
+++ b/src/ui/ui_earnings.cpp
@@ -32,6 +32,8 @@ void ui::setup_earnings()
void ui::destroy_earnings()
{
memops::unalloc(statement);
+
+ statement = 0;
}
void ui::draw_earnings()