summaryrefslogtreecommitdiff
path: root/src/shared/error_report.cpp
diff options
context:
space:
mode:
authorTannin <devnull@localhost>2014-05-15 19:11:19 +0200
committerTannin <devnull@localhost>2014-05-15 19:11:19 +0200
commit48c8cca578c415152e64b3c3a6e1523dbc76b4d8 (patch)
treebcb2e571f7b870141b2d80989489381dbba5c8e3 /src/shared/error_report.cpp
parent977b4075254ca79e68bbdec2e689eccb291fe701 (diff)
- 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
Diffstat (limited to 'src/shared/error_report.cpp')
-rw-r--r--src/shared/error_report.cpp4
1 files changed, 1 insertions, 3 deletions
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