WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
117725
[Qt][WK2] memory leak in QQuickWebView
https://bugs.webkit.org/show_bug.cgi?id=117725
Summary
[Qt][WK2] memory leak in QQuickWebView
Sangho Kim
Reported
2013-06-17 22:23:57 PDT
There are QQuickWebViewExperimental pointer in QQuickWebView. The constructor of QQuickWebView new QQuickWebViewExperimental. But the destructor doesn't delete this.
Attachments
patch
(1.54 KB, patch)
2013-06-17 22:37 PDT
,
Sangho Kim
no flags
Details
Formatted Diff
Diff
patch
(1.66 KB, patch)
2013-06-21 01:24 PDT
,
Sangho Kim
no flags
Details
Formatted Diff
Diff
patch
(2.67 KB, patch)
2013-06-23 18:13 PDT
,
Sangho Kim
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Sangho Kim
Comment 1
2013-06-17 22:37:06 PDT
Created
attachment 204881
[details]
patch adding delete clase...
WebKit Commit Bot
Comment 2
2013-06-17 22:37:26 PDT
Comment on
attachment 204881
[details]
patch Rejecting
attachment 204881
[details]
from commit-queue.
thomas.kim@lge.com
does not have committer permissions according to
http://trac.webkit.org/browser/trunk/Tools/Scripts/webkitpy/common/config/committers.py
. - If you do not have committer rights please read
http://webkit.org/coding/contributing.html
for instructions on how to use bugzilla flags. - If you have committer rights please correct the error in Tools/Scripts/webkitpy/common/config/committers.py by adding yourself to the file (no review needed). The commit-queue restarts itself every 2 hours. After restart the commit-queue will correctly respect your committer rights.
Sergio Villar Senin
Comment 3
2013-06-21 00:55:02 PDT
Comment on
attachment 204881
[details]
patch View in context:
https://bugs.webkit.org/attachment.cgi?id=204881&action=review
Overall looks good, some Qt reviewer should take a look though. Some nits
> Source/WebKit2/ChangeLog:7 > +
You need to include a short description of the patch here.
> Source/WebKit2/UIProcess/API/qt/qquickwebview.cpp:319 > + if (experimental)
Why if? Isn't it always created?
> Source/WebKit2/UIProcess/API/qt/qquickwebview.cpp:1057 > + if (schemeParent)
Same question here about the if.
> Source/WebKit2/UIProcess/API/qt/qquickwebview.cpp:1059 > + if (m_test)
Ditto.
Sangho Kim
Comment 4
2013-06-21 01:24:51 PDT
Created
attachment 205158
[details]
patch changed the ChangeLog and delete if phrase.
Rafael Brandao
Comment 5
2013-06-21 10:04:23 PDT
Comment on
attachment 204881
[details]
patch View in context:
https://bugs.webkit.org/attachment.cgi?id=204881&action=review
> Source/WebKit2/UIProcess/API/qt/qquickwebview.cpp:320 > + delete experimental;
If this fix is right, then it seems that you need to use an OwnPtr on QQuickWebViewPrivate rather than a raw pointer.
Sangho Kim
Comment 6
2013-06-23 18:13:48 PDT
Created
attachment 205274
[details]
patch change raw pointer to OwnPtr of QQuickWebViewExperimental
Sangho Kim
Comment 7
2013-09-04 21:33:14 PDT
Please review and commit...
Anders Carlsson
Comment 8
2013-10-02 21:35:46 PDT
Qt has been removed, clearing review flags.
Jocelyn Turcotte
Comment 9
2014-02-03 03:26:12 PST
=== Bulk closing of Qt bugs === If you believe that this bug report is still relevant for a non-Qt port of webkit.org, please re-open it and remove [Qt] from the summary. If you believe that this is still an important QtWebKit bug, please fill a new report at
https://bugreports.qt-project.org
and add a link to this issue. See
http://qt-project.org/wiki/ReportingBugsInQt
for additional guidelines.
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