(215094) - fix leak in CopySmartKeywords - free the INI parser when we're done with it.
git-svn-id: svn://10.0.0.236/trunk@153367 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
48c1def90f
commit
db94a44da3
@ -1082,6 +1082,11 @@ nsOperaProfileMigrator::CopySmartKeywords(nsIBookmarksService* aBMS,
|
||||
getter_AddRefs(itemRes));
|
||||
}
|
||||
while (1);
|
||||
|
||||
if (parser) {
|
||||
delete parser;
|
||||
parser = nsnull;
|
||||
}
|
||||
|
||||
return rv;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user