[Webkit-unassigned] [Bug 141564] [GTK] Memory leak from webkit_web_policy_decision_new()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 16 04:07:32 PST 2015


Milan Crha <mcrha at redhat.com> changed:

           What    |Removed                     |Added
 Attachment #246642|                            |review?, commit-queue?
              Flags|                            |

--- Comment #1 from Milan Crha <mcrha at redhat.com> ---
Created attachment 246642
  --> https://bugs.webkit.org/attachment.cgi?id=246642&action=review
proposed patch

The problem is that the priv->framePolicyFunction is not properly freed on GObject's finalize(), because it's a class inside a strucutre which is freed by GLib, not by C++.

This is WebKit1 related, I didn't find webkit_web_policy_decision_new() in the git master, but as it's still relevant, then it'll be nice to have this fixed there.

It would be also good to check WebKit2 code, whether it doesn't contain any similar issues.

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150216/2c0ebaed/attachment-0002.html>

More information about the webkit-unassigned mailing list