Fixing bug 333733. Could leak attr in nsFrameUtil::Tag::ReadAttrs. r+sr=dbaron@mozilla.com
git-svn-id: svn://10.0.0.236/trunk@194742 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -437,6 +437,7 @@ nsFrameUtil::Tag::ReadAttrs(FILE* aFile)
|
||||
if (Expect(aFile, '=')) {
|
||||
value = ReadString(aFile);
|
||||
if (nsnull == value) {
|
||||
delete [] attr;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user