Closed Bug 581804 Opened 15 years ago Closed 15 years ago

vfychain should call PL_ArenaFinish before exit

Categories

(NSS :: Tools, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: hanno, Assigned: hanno)

References

Details

Attachments

(1 file, 1 obsolete file)

According to the doc at https://developer.mozilla.org/en/NSS_Memory_allocation applications using nss should call PL_ArenaFinish before exit to avoid allocated arenas to be shown as leaked by debugging tools like valgrind. Please apply attached patch to do that for vfychain.
Assignee: nobody → hanno
Status: NEW → ASSIGNED
OS: Linux → All
Hardware: x86_64 → All
Target Milestone: --- → 3.13
Comment on attachment 460145 [details] call PL_ArenaFinish in vfychain before exiting Hanno, thanks a lot for the patch. Please call PL_ArenaFinish() before PR_Cleanup(). Note: this bug is an instance of bug 430544.
Attachment #460145 - Flags: review-
Blocks: 430544
Attachment #460145 - Attachment is obsolete: true
Attachment #460698 - Flags: review?(wtc)
Comment on attachment 460698 [details] [diff] [review] vfychain-noleak-v2.diff r=wtc. I checked in the patch on the NSS trunk (NSS 3.13). Checking in vfychain.c; /cvsroot/mozilla/security/nss/cmd/vfychain/vfychain.c,v <-- vfychain.c new revision: 1.31; previous revision: 1.30 done
Attachment #460698 - Flags: review?(wtc) → review+
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: