mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 20:05:49 +00:00
Fixing bug 333733. Could leak attr in nsFrameUtil::Tag::ReadAttrs. r+sr=dbaron@mozilla.com
This commit is contained in:
parent
0f639ba66a
commit
82e9d59379
@ -437,6 +437,7 @@ nsFrameUtil::Tag::ReadAttrs(FILE* aFile)
|
||||
if (Expect(aFile, '=')) {
|
||||
value = ReadString(aFile);
|
||||
if (nsnull == value) {
|
||||
delete [] attr;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user