diff --git a/src/EclManager.cpp b/src/EclManager.cpp index b8494d6a..52103f57 100644 --- a/src/EclManager.cpp +++ b/src/EclManager.cpp @@ -1024,7 +1024,8 @@ ZunResult EclManager::RunEcl(Enemy *enemy) void EclManager::Unload() { - if (eclFile != NULL) { + if (eclFile != NULL) + { free(eclFile); } eclFile = NULL;