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:
jwatt%jwatt.org
2006-04-20 00:13:34 +00:00
parent e0789a80bf
commit a00535b6a7

View File

@@ -437,6 +437,7 @@ nsFrameUtil::Tag::ReadAttrs(FILE* aFile)
if (Expect(aFile, '=')) {
value = ReadString(aFile);
if (nsnull == value) {
delete [] attr;
break;
}
}