WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
59755
AXObjectCache::attachWrapper() over-retains an AccessibilityObjectWrapper
https://bugs.webkit.org/show_bug.cgi?id=59755
Summary
AXObjectCache::attachWrapper() over-retains an AccessibilityObjectWrapper
David Kilzer (:ddkilzer)
Reported
2011-04-28 16:08:36 PDT
Created
attachment 91580
[details]
Patch Reviewed by NOBODY (OOPS!). Previously, AXObjectCache::attachWrapper over-retained each AccessibilityObjectWrapper it created, which is why AXObjectCache::detachWrapper() contained an extra -release. * accessibility/mac/AXObjectCacheMac.mm: (WebCore::AXObjectCache::detachWrapper): Removed extra -release. (WebCore::AXObjectCache::attachWrapper): Because setWrapper() assigns to a RetainPtr<> instance variable, it doesn't need a +1 retained object passed in. Fix the leak by using a RetainPtr<> for the AccessibilityObjectWrapper. --- 2 files changed, 19 insertions(+), 2 deletions(-)
Attachments
Patch
(2.05 KB, patch)
2011-04-28 16:08 PDT
,
David Kilzer (:ddkilzer)
cfleizach
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
WebKit Review Bot
Comment 1
2011-04-28 16:10:22 PDT
Attachment 91580
[details]
did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebCore/ChangeLog', u'Source/WebCor..." exit_code: 1 Source/WebCore/ChangeLog:1: ChangeLog entry has no bug number [changelog/bugnumber] [5] Total errors found: 1 in 2 files If any of these errors are false positives, please file a bug against check-webkit-style.
chris fleizach
Comment 2
2011-04-28 16:31:37 PDT
Comment on
attachment 91580
[details]
Patch looks ok, I assume you'll fix the change log. thanks r=me
David Kilzer (:ddkilzer)
Comment 3
2011-04-28 16:55:26 PDT
Committed
r85263
: <
http://trac.webkit.org/changeset/85263
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug