Summary: | [Qt] Memory leak in QWebInspector | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Yi Shen <max.hong.shen> | ||||||||
Component: | WebKit Qt | Assignee: | Yi Shen <max.hong.shen> | ||||||||
Status: | RESOLVED FIXED | ||||||||||
Severity: | Normal | CC: | commit-queue, kling | ||||||||
Priority: | P3 | ||||||||||
Version: | 528+ (Nightly build) | ||||||||||
Hardware: | PC | ||||||||||
OS: | All | ||||||||||
Attachments: |
|
Description
Yi Shen
2010-11-18 15:22:17 PST
Created attachment 74304 [details]
first try
Created attachment 74306 [details]
prevent double delete by QWebPagePrivate
Comment on attachment 74306 [details] prevent double delete by QWebPagePrivate View in context: https://bugs.webkit.org/attachment.cgi?id=74306&action=review Patch is fine, but: > WebKit/qt/Api/qwebinspector.cpp:94 > + if (d) { Unnecessary if- "delete d" is a no-op if !d. > WebKit/qt/Api/qwebinspector.cpp:96 > + // Prevent double delete by QWebPagePrivate Unnecessary comment. Created attachment 74367 [details]
remove unnecessary stuff
Thanks Kling, u r right :)
Comment on attachment 74367 [details]
remove unnecessary stuff
LGTM, r+.
Comment on attachment 74367 [details] remove unnecessary stuff Clearing flags on attachment: 74367 Committed r72466: <http://trac.webkit.org/changeset/72466> All reviewed patches have been landed. Closing bug. |