WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
98522
No autorelease pool in place, causing buildup of autoreleased objects.
https://bugs.webkit.org/show_bug.cgi?id=98522
Summary
No autorelease pool in place, causing buildup of autoreleased objects.
Jer Noble
Reported
2012-10-05 08:32:53 PDT
No autorelease pool in place, causing buildup of autoreleased objects.
Attachments
Patch
(1.82 KB, patch)
2012-10-05 08:36 PDT
,
Jer Noble
ap
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Jer Noble
Comment 1
2012-10-05 08:36:42 PDT
Created
attachment 167332
[details]
Patch
Alexey Proskuryakov
Comment 2
2012-10-05 10:42:34 PDT
Comment on
attachment 167332
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=167332&action=review
> Source/WebCore/ChangeLog:4 > +
https://bugs.webkit.org/show_bug.cgi?id=98522
If there is a Radar bug tracking this, please post its number to Bugzilla and to ChangeLog.
> Source/WebCore/platform/cf/RunLoopTimerCF.cpp:49 > + AutodrainedPool pool;
This won't break Windows build, will it? With a cursory look, I couldn't find a no-op implementation of this class that Windows could be using.
Alexey Proskuryakov
Comment 3
2012-10-05 10:45:23 PDT
My mistake - I was looking at a wrong AutodrainedPool.h.
Jer Noble
Comment 4
2012-10-05 11:14:58 PDT
(In reply to
comment #2
)
> (From update of
attachment 167332
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=167332&action=review
> > > Source/WebCore/ChangeLog:4 > > +
https://bugs.webkit.org/show_bug.cgi?id=98522
> > If there is a Radar bug tracking this, please post its number to Bugzilla and to ChangeLog.
Sure thing.
> > Source/WebCore/platform/cf/RunLoopTimerCF.cpp:49 > > + AutodrainedPool pool; > > This won't break Windows build, will it? With a cursory look, I couldn't find a no-op implementation of this class that Windows could be using.
Yep, as I think you discovered in
comment #3
, there's a no-op implementation for non-ObjC CF-ports.
Jer Noble
Comment 5
2012-10-05 11:15:49 PDT
<
rdar://problem/11647950
>
Jer Noble
Comment 6
2012-10-05 11:34:05 PDT
Committed
r130534
: <
http://trac.webkit.org/changeset/130534
>
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