From a6021590f7d98d62c9a8a8f09b5be0bfd80cdd36 Mon Sep 17 00:00:00 2001 From: terminx Date: Thu, 25 Oct 2018 23:30:37 +0000 Subject: [PATCH] Remember to free library in minidumper git-svn-id: https://svn.eduke32.com/eduke32@7098 1a8010ca-5511-0410-912e-c29ae57300e0 --- source/duke3d/src/mdump.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/duke3d/src/mdump.cpp b/source/duke3d/src/mdump.cpp index dc0a20324..a562033ea 100644 --- a/source/duke3d/src/mdump.cpp +++ b/source/duke3d/src/mdump.cpp @@ -103,6 +103,8 @@ LONG MiniDumper::TopLevelFilter( struct _EXCEPTION_POINTERS *pExceptionInfo ) { szResult = "DBGHELP.DLL too old"; } + + ::FreeLibrary(hDll); } ::MessageBox( NULL, szResult, m_szAppName, MB_OK );