[Webkit-unassigned] [Bug 108801] New: memory leak libflashplayer

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 4 00:30:31 PST 2013


https://bugs.webkit.org/show_bug.cgi?id=108801

           Summary: memory leak libflashplayer
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebKit Gtk
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: infermita at gmail.com


Hi,
i have a problem in my gtk widget. I need reload the single page every 15 seconds, but libwegtk alloc memory

My example

In main

c_html = webkit_web_view_new();

    WebKitWebSettings *settings = webkit_web_view_get_settings(WEBKIT_WEB_VIEW(c_html));
    g_object_set(G_OBJECT(settings), "enable-page-cache", TRUE, NULL);
    g_object_set(G_OBJECT(settings), "enable-offline-web-application-cache", TRUE, NULL);
    g_object_set(G_OBJECT(settings), "enable-private-browsing", TRUE, NULL);

    webkit_set_cache_model(WEBKIT_CACHE_MODEL_DOCUMENT_VIEWER);

    gtk_widget_set_usize(GTK_WIDGET(c_html), 450, 300);
    gtk_widget_set_uposition(GTK_WIDGET(c_html), 574, 92);
    gtk_container_add(GTK_CONTAINER(canvas), GTK_WIDGET(c_html));
    gtk_widget_show(GTK_WIDGET(c_html));

    webkit_web_view_load_uri(WEBKIT_WEB_VIEW(c_html), urlMeteo);

g_timeout_add(10000, callback, NULL);

gboolean callback(gpointer wk) {


    webkit_web_view_reload(WEBKIT_WEB_VIEW (wk));
      return TRUE;
}
when call callback the memory leak
Why?
the page contain object flash
example
http://www.ilmeteo.it/box/previsioni.php?citta=7301&type=day2&width=450&ico=swf1&lang=ita&days=5&font=Arial&fontsize=12&bg=FFFFFF&fg=000000&bgtitle=0099FF&fgtitle=FFFFFF&bgtab=F0F0F0&fglink=1773C2

Thanks

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list