summaryrefslogtreecommitdiff
path: root/src/fios_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/fios_gui.cpp')
-rw-r--r--src/fios_gui.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fios_gui.cpp b/src/fios_gui.cpp
index 3e48c10bb..5ae42897f 100644
--- a/src/fios_gui.cpp
+++ b/src/fios_gui.cpp
@@ -27,6 +27,7 @@
#include "landscape_type.h"
#include "date_func.h"
#include "core/geometry_func.hpp"
+#include "gamelog.h"
#include "widgets/fios_widget.h"
@@ -60,7 +61,7 @@ void LoadCheckData::Clear()
}
companies.Clear();
- free(this->gamelog_action);
+ GamelogFree(this->gamelog_action, this->gamelog_actions);
this->gamelog_action = NULL;
this->gamelog_actions = 0;