Bug 108378 - Objective-C API: exceptionHandler needs to be released in JSContext dealloc
Summary: Objective-C API: exceptionHandler needs to be released in JSContext dealloc
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Mark Hahnenberg
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-30 14:07 PST by Mark Hahnenberg
Modified: 2013-01-30 14:18 PST (History)
3 users (show)

See Also:


Attachments
Patch (1.25 KB, patch)
2013-01-30 14:11 PST, Mark Hahnenberg
fpizlo: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Hahnenberg 2013-01-30 14:07:17 PST
JSContext has a (copy) exceptionHandler property that it doesn't release in dealloc. That sounds like the potential for a leak. It should be released.
Comment 1 Mark Hahnenberg 2013-01-30 14:07:33 PST
<rdar://problem/13111819>
Comment 2 Mark Hahnenberg 2013-01-30 14:11:40 PST
Created attachment 185563 [details]
Patch
Comment 3 Mark Hahnenberg 2013-01-30 14:18:33 PST
Committed r141305: <http://trac.webkit.org/changeset/141305>