Fix "FMM: Freeing mismatched memory in PresShell::DumpReflows". bug 71956. r=rods, sr=scc.

git-svn-id: svn://10.0.0.236/trunk@89904 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
hwaara%chello.se
2001-03-20 13:34:17 +00:00
parent 2a8b96a54e
commit 6e2b2cf1af
2 changed files with 4 additions and 2 deletions

View File

@@ -19,6 +19,7 @@
*
* Contributor(s):
* Steve Clark (buster@netscape.com)
* Håkan Waara (hwaara@chello.se)
*
* IBM Corporation
*
@@ -6271,7 +6272,7 @@ PresShell::DumpReflows()
mReflowCountMgr->DisplayTotals(uriStr);
mReflowCountMgr->DisplayHTMLTotals(uriStr);
mReflowCountMgr->DisplayDiffsInTotals("Differences");
if (uriStr) delete [] uriStr;
if (uriStr) nsCRT::free(uriStr);
}
return NS_OK;
}

View File

@@ -19,6 +19,7 @@
*
* Contributor(s):
* Steve Clark (buster@netscape.com)
* Håkan Waara (hwaara@chello.se)
*
* IBM Corporation
*
@@ -6271,7 +6272,7 @@ PresShell::DumpReflows()
mReflowCountMgr->DisplayTotals(uriStr);
mReflowCountMgr->DisplayHTMLTotals(uriStr);
mReflowCountMgr->DisplayDiffsInTotals("Differences");
if (uriStr) delete [] uriStr;
if (uriStr) nsCRT::free(uriStr);
}
return NS_OK;
}