Closed Bug 165655 Opened 22 years ago Closed 22 years ago

PK11_WrapPrivKey memory leak

Categories

(NSS :: Libraries, defect)

3.4.2
x86
Windows 2000
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: stevepnscp, Assigned: rrelyea)

Details

(Keywords: memory-leak)

Attachments

(1 file)

During a purify run of a test tool of mine, I
discovered that PK11_WrapPrivKey() leaks a little memory.

Specifically, 'param' is never freed.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: mlk
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.
Setting target milestone. wtc, could I have a review of this.

bob
Target Milestone: --- → 3.6
Comment on attachment 99897 [details] [diff] [review]
Free params if we allocated them

r=wtc.	Bob, your patch is correct.
Attachment #99897 - Flags: review+
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.

Attachment

General

Creator:
Created:
Updated:
Size: