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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 13 04:10:48 PDT 2009


--- Comment #7 from John Kjellberg <john.kjellberg at power.alstom.com>  2009-08-13 04:10:47 PDT ---
(In reply to comment #6)
> I have opened bug #28250 for the crasher issue. About the leak, I'm not sure
> the part of the patch that deals with the soup session makes much sense; is
> that needed to make the leak go away? Or is it just the security preference?

The security preference part I have know idea, it's really strange that it is
needed at all. In r41128 there where no leak and the security fix wasn't
needed(I think). The change is that before(in r11428 and my patch) there was
one global "SoupSession" instead of creating one new for each startHttp() call.

I would guess that "handle->defaultSession()" which creates a new SoupSession
must be followed by a "free" of some kind. But I'm not familiar enough with the
code and code flow to know where that should be.

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