Closed Bug 557888 Opened 11 years ago Closed 11 years ago

nsCertAlreadyExists always leaks unused arena

Categories

(Core Graveyard :: Security: UI, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla1.9.3a5

People

(Reporter: timeless, Assigned: timeless)

References

()

Details

(Keywords: coverity, memory-leak)

Attachments

(1 file)

2214 nsCertAlreadyExists(SECItem *derCert)
2217   PRArenaPool *arena;
2221   arena = PORT_NewArena(DER_DEFAULT_CHUNKSIZE);
2222   NS_ASSERTION(arena, "Couldn't allocate an arena!");
2223   if (!arena)
2224     return PR_FALSE; //What else could we return?

2237   return retVal;
Assignee: kaie → timeless
Status: NEW → ASSIGNED
Attachment #437646 - Flags: review?(kaie)
Comment on attachment 437646 [details] [diff] [review]
remove unused arena

r=kaie

thanks!
Attachment #437646 - Flags: review?(kaie) → review+
http://hg.mozilla.org/mozilla-central/rev/83c887dff0da
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Flags: in-testsuite-
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.3a5
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.