Closed Bug 1213980 Opened 9 years ago Closed 9 years ago

[CID 1286127] Variable objects going out of scope leaks the storage it points to

Categories

(NSS :: Libraries, defect)

defect
Not set
normal

Tracking

(firefox44 affected)

RESOLVED FIXED
Tracking Status
firefox44 --- affected

People

(Reporter: franziskus, Assigned: franziskus)

References

(Blocks 1 open bug)

Details

If create_object_array fails, the objects variable is leaked.
Patch is at https://codereview.appspot.com/268400043/

If create_object_array fails, we have to free the objects variable.
Flags: needinfo?(martin.thomson)
Comments on reitveld.
Flags: needinfo?(martin.thomson)
Flags: needinfo?(ekr)
new patch at https://codereview.appspot.com/268400043/
Flags: needinfo?(martin.thomson)
https://hg.mozilla.org/projects/nss/rev/04625985b8ba
Status: NEW → RESOLVED
Closed: 9 years ago
Flags: needinfo?(martin.thomson)
Flags: needinfo?(ekr)
Resolution: --- → FIXED
Target Milestone: --- → 3.21
You need to log in before you can comment on or make changes to this bug.