Closed
Bug 210730
Opened 22 years ago
Closed 22 years ago
Can optimize ClassInfoData::GetName a little in failure case
Categories
(Core :: Security: CAPS, defect)
Core
Security: CAPS
Tracking
()
RESOLVED
FIXED
People
(Reporter: jag+mozilla, Assigned: jag+mozilla)
Details
Attachments
(3 files, 1 obsolete file)
803 bytes,
patch
|
Details | Diff | Splinter Review | |
1.51 KB,
patch
|
Details | Diff | Splinter Review | |
2.30 KB,
patch
|
jag+mozilla
:
review+
jag+mozilla
:
superreview+
|
Details | Diff | Splinter Review |
Assignee | ||
Comment 1•22 years ago
|
||
Assignee | ||
Comment 2•22 years ago
|
||
Assignee | ||
Comment 3•22 years ago
|
||
Hmm, and looking at GetFlags, mDidGetFlags should also be set to PR_TRUE for the
|else| case, since there's no way other than the constructor to set mClassInfo.
Comment 4•22 years ago
|
||
Assignee | ||
Comment 5•22 years ago
|
||
Comment on attachment 126583 [details] [diff] [review]
ignore this.
You'll end up freeing memory you don't own (|aName|).
Attachment #126583 -
Flags: superreview-
Comment 6•22 years ago
|
||
Comment on attachment 126583 [details] [diff] [review]
ignore this.
This is obviously not a good day to be writing code.
Attachment #126583 -
Attachment description: Or this... → ignore this.
Attachment #126583 -
Attachment is obsolete: true
Comment 7•22 years ago
|
||
Assignee | ||
Comment 8•22 years ago
|
||
Comment on attachment 126585 [details] [diff] [review]
This should do it (diff -w)
r+sr=jag
Attachment #126585 -
Flags: superreview+
Attachment #126585 -
Flags: review+
You need to log in
before you can comment on or make changes to this bug.
Description
•