Adium

Opened 15 years ago

Closed 13 years ago

Last modified 11 years ago

#692 closed defect (fixed)

AIKeychain leaks memory

Reported by: Mark Rowe <adiumx.com@bdash.net.nz> Owned by: anybody
Milestone: Component: Adium Core
Version: Severity: normal
Keywords: Cc:
Patch Status:

Description

The documentation for SecKeychainFindInternetPassword notes that you should use the SecKeychainItemFreeContent function to free the memory pointed to by the passwordData parameter. Failing to do so results in a substantial memory leak.

Attachments (2)

adium-AIKeychain-mem-leak-p1.patch (1.2 KB) - added by Mark Rowe <adiumx.com@…> 15 years ago.
Patch that calls SecKeychainItemFreeContent to free keychain-related memory when needed.
adium-AIKeychain-mem-leak-p2.patch (1.8 KB) - added by Mark Rowe <adiumx.com@…> 15 years ago.
Updated patch

Download all attachments as: .zip

Change History (11)

Changed 15 years ago by Mark Rowe <adiumx.com@…>

Patch that calls SecKeychainItemFreeContent to free keychain-related memory when needed.

Changed 15 years ago by Mark Rowe <adiumx.com@…>

Updated patch

comment:1 Changed 15 years ago by David Smith

Resolution: fixed
Status: newclosed

(In [12492]) Patch from Mark Rowe to fix an AIKeychain memory leak. Fixes #692

comment:7 in reply to:  " Changed 14 years ago by ProxyBase

[Change other data] [Recreate]|[+ss]

comment:12 Changed 14 years ago by matt

field_haspatch: 0
Keywords: tracspam added

comment:18 Changed 13 years ago by David Smith

Resolution: fixed
Status: reopenedclosed

comment:21 Changed 13 years ago by Chris Forsythe

Keywords: tracspam removed

comment:25 Changed 13 years ago by Eric Richie

Resolution: fixed
Status: reopenedclosed

comment:26 Changed 13 years ago by Eric Richie

Keywords: tracspam added

comment:27 Changed 13 years ago by Chris Forsythe

Keywords: tracspam removed

comment:28 Changed 11 years ago by Zachary West

Component: AIUtilities.frameworkAdium Core

Removing AIUtilities component.

Note: See TracTickets for help on using tickets.