fixed 20170

r=karnaze
This commit is contained in:
buster@netscape.com
1999-12-01 22:28:51 +00:00
parent 60d53fd15d
commit aa5a1b43e8
2 changed files with 12 additions and 0 deletions

View File

@@ -4504,6 +4504,12 @@ NS_IMETHODIMP nsWebShell::AddChild(nsIDocShell *aChild)
NS_ENSURE_SUCCESS(childmuDV->SetForceCharacterSet(forceCharset), NS_ERROR_FAILURE);
}
}
if (defaultCharset) {
Recycle(defaultCharset);
}
if (forceCharset) {
Recycle(forceCharset);
}
}
return NS_OK;