From aec1491c98e1ae73e25f679e51b0633f17cb4b19 Mon Sep 17 00:00:00 2001 From: ephphatha Date: Sun, 8 Aug 2021 23:15:02 +1000 Subject: [PATCH] Close devilutionx_mpq instead of trying to close patch_rt_mpq twice --- Source/init.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/init.cpp b/Source/init.cpp index e380b1c9c..a7ea24371 100644 --- a/Source/init.cpp +++ b/Source/init.cpp @@ -128,8 +128,8 @@ void init_cleanup() hfopt2_mpq = nullptr; } if (devilutionx_mpq != nullptr) { - SFileCloseArchive(patch_rt_mpq); - patch_rt_mpq = nullptr; + SFileCloseArchive(devilutionx_mpq); + devilutionx_mpq = nullptr; } NetClose();