diff --git a/mozilla/toolkit/crashreporter/nsExceptionHandler.cpp b/mozilla/toolkit/crashreporter/nsExceptionHandler.cpp index 2abd3d8ebc0..9f2bd629c3e 100755 --- a/mozilla/toolkit/crashreporter/nsExceptionHandler.cpp +++ b/mozilla/toolkit/crashreporter/nsExceptionHandler.cpp @@ -672,6 +672,12 @@ nsresult UnsetExceptionHandler() delete crashReporterAPIData_Hash; crashReporterAPIData_Hash = nsnull; } + + if (crashReporterAPIData) { + delete crashReporterAPIData; + crashReporterAPIData = nsnull; + } + if (crashReporterPath) { NS_Free(crashReporterPath); crashReporterPath = nsnull;