Closed
Bug 165655
Opened 22 years ago
Closed 22 years ago
PK11_WrapPrivKey memory leak
Categories
(NSS :: Libraries, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
3.6
People
(Reporter: stevepnscp, Assigned: rrelyea)
Details
(Keywords: memory-leak)
Attachments
(1 file)
535 bytes,
patch
|
wtc
:
review+
|
Details | Diff | Splinter Review |
During a purify run of a test tool of mine, I discovered that PK11_WrapPrivKey() leaks a little memory. Specifically, 'param' is never freed.
Updated•22 years ago
|
Assignee | ||
Comment 1•22 years ago
|
||
Good catch. The code already was set up to handle the case where it needed to free the params, it just didn't get around to doing it.
Assignee | ||
Comment 2•22 years ago
|
||
Setting target milestone. wtc, could I have a review of this. bob
Target Milestone: --- → 3.6
Comment 3•22 years ago
|
||
Comment on attachment 99897 [details] [diff] [review] Free params if we allocated them r=wtc. Bob, your patch is correct.
Attachment #99897 -
Flags: review+
Assignee | ||
Comment 4•22 years ago
|
||
Fix checked in.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•