I find a leak with valgrind when running QtLauncher
and load pages that requires plugins.
It is that the m_module member in WebCore::PluginPackage class is not freed.
I took a look at the code and realized that this member must freed with
a delay through freeLibrarySoon method that is callen from the destructor.
I debuged 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 load
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.
It is a real leak, or I just misunderstood the logic of plugin management?

Regards
Kelemen Balázs



----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Reply via email to