[Webkit-unassigned] [Bug 28148] Requests through the SOUP layer leaks memory

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 11 08:50:59 PDT 2009


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





--- Comment #23 from Dan Winship <danw at gnome.org>  2009-09-11 08:50:57 PDT ---
(In reply to comment #22)
> What I did was to revert back to the un-patched code. Then in the file
> WebKit/gtk/webkit/webkitprivate.cpp I commented out the last lines in that
> source:
>  //SoupSessionFeature* sniffer =
> static_cast<SoupSessionFeature*>(g_object_new(SOUP_TYPE_CONTENT_S    NIFFER,
> NULL));
> //soup_session_add_feature(session, sniffer);
> //g_object_unref(sniffer);
> 
> and the leak was gone!

Aha. This is the new Content-Type-auto-figuring-out feature. And that explains
why you saw the bug and we didn't; because WebKit was later fixed to not do
Content-Type sniffing for XML-RPC requests, so with current WebKit, the leak
wouldn't happen.

This is now fixed in libsoup master (abc8a146f4bc8936bb416de00fb4e57fca2a21bd).

-- 
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