Bug 153954 - Call CFRelease() on SecRequirementRef when no longer needed
Summary: Call CFRelease() on SecRequirementRef when no longer needed
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: WebKit Local Build
Hardware: Macintosh OS X 10.11
: P2 Normal
Assignee: Daniel Bates
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2016-02-06 14:13 PST by Daniel Bates
Modified: 2016-02-06 18:03 PST (History)
6 users (show)

See Also:


Attachments
Patch (2.48 KB, patch)
2016-02-06 14:17 PST, Daniel Bates
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Bates 2016-02-06 14:13:46 PST
We should call CFRelease() on the SecRequirementRef allocated by SecRequirementCreateWithString() when we are done using it to avoid a memory leak.
Comment 1 Radar WebKit Bug Importer 2016-02-06 14:14:50 PST
<rdar://problem/24540259>
Comment 2 Daniel Bates 2016-02-06 14:17:28 PST
Created attachment 270804 [details]
Patch
Comment 3 Daniel Bates 2016-02-06 18:03:23 PST
Comment on attachment 270804 [details]
Patch

Clearing flags on attachment: 270804

Committed r196234: <http://trac.webkit.org/changeset/196234>
Comment 4 Daniel Bates 2016-02-06 18:03:26 PST
All reviewed patches have been landed.  Closing bug.