From 94ceb89d8339d3a90139740882878798cdd07a53 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 6 Nov 2024 15:04:52 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/EclManager.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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;