From 48c8cca578c415152e64b3c3a6e1523dbc76b4d8 Mon Sep 17 00:00:00 2001 From: Tannin Date: Thu, 15 May 2014 19:11:19 +0200 Subject: - NCC will now report an error if a script tries to extract a non-existent file instead of creating an empty output file - ncc installer plugin now uses a more reliable method to force the installer window to the foreground - missing version on TESV.exe will no longer be reported as an error - bugfix: loot client didn't read list of active mods - bugfix: invalid free call in error reporting function --- src/shared/error_report.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/shared/error_report.cpp') diff --git a/src/shared/error_report.cpp b/src/shared/error_report.cpp index c1b25229..02ff2d56 100644 --- a/src/shared/error_report.cpp +++ b/src/shared/error_report.cpp @@ -36,7 +36,6 @@ void reportError(LPCSTR format, ...) va_end(argList); MessageBoxA(NULL, buffer, "Error", MB_OK | MB_ICONERROR); - LocalFree(buffer); } void reportError(LPCWSTR format, ...) @@ -52,7 +51,6 @@ void reportError(LPCWSTR format, ...) va_end(argList); MessageBoxW(NULL, buffer, L"Error", MB_OK | MB_ICONERROR); - LocalFree(buffer); } @@ -99,4 +97,4 @@ std::wstring getCurrentErrorStringW() return result; } } -} // namespace MOShared +} // namespace MOShared -- cgit v1.3.1