mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-15 19:20:13 +00:00
bug 53585 and bug 53569; fixing a leak; r/a=brendan; a=granrose
This commit is contained in:
parent
632180ced0
commit
409e23e49f
@ -1395,8 +1395,9 @@ CheckMap(nsFontCharSetMap* aEntry)
|
||||
nsCOMPtr<nsIAtom> charset =
|
||||
getter_AddRefs(NS_NewAtom(aEntry->mInfo->mCharSet));
|
||||
if (charset) {
|
||||
nsIUnicodeEncoder* converter = nsnull;
|
||||
res = gCharSetManager->GetUnicodeEncoder(charset, &converter);
|
||||
nsCOMPtr<nsIUnicodeEncoder> converter;
|
||||
res = gCharSetManager->GetUnicodeEncoder(charset,
|
||||
getter_AddRefs(converter));
|
||||
if (NS_FAILED(res)) {
|
||||
printf("=== %s failed (%s)\n", aEntry->mInfo->mCharSet, __FILE__);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user