[Webkit-unassigned] [Bug 20522] New: Memory leak in WebCore::PluginPackage class
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Aug 26 06:01:14 PDT 2008
https://bugs.webkit.org/show_bug.cgi?id=20522
Summary: Memory leak in WebCore::PluginPackage class
Product: WebKit
Version: 528+ (Nightly build)
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: Plug-ins
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: Kelemen.Balazs.3 at stud.u-szeged.hu
I found a leak with valgrind when running QtLauncher when loading pages that
require plugins.
The m_module member of WebCore::PluginPackage class is not freed.
I took a look at the code and realized that this member must be freed with
a delay through the freeLibrarySoon method that is called by the destructor.
I debugged QtLauncher and discovered that this member is not freed anyway.
The destructor runs many times but the unloadModule function that
should free the member had never been reached. I tested it though loading
pages like youtube and "http://szotar.sztaki.hu/index.hu.jhtml" in
QtLauncher when it was run under gdb (these pages require flash, mplayer and
java plugins). Then I load simple html pages and local files but the
member had been still unfreed. I use the Qt port of Webkit under linux.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list