From 945bc01e5b1f8e7ec4dc68e18a7fd38eb2eb5dad Mon Sep 17 00:00:00 2001 From: "ted.mielczarek%gmail.com" Date: Thu, 25 Oct 2007 00:37:18 +0000 Subject: [PATCH] bug 397103 Rlk/Lk regression in crash reporter. r=dbaron a1.9=drivers git-svn-id: svn://10.0.0.236/trunk@238121 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/toolkit/crashreporter/nsExceptionHandler.cpp | 6 ++++++ 1 file changed, 6 insertions(+) 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;