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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 13 07:21:07 PDT 2009


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





--- Comment #9 from John Kjellberg <john.kjellberg at power.alstom.com>  2009-08-13 07:21:05 PDT ---
(In reply to comment #8)
> (In reply to comment #7)
> > 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.
> 
> Well, but unless I'm mistaken we don't do that. The session we return is a
> static variable, so it's only created once.

Ah sorry. A missed the little detail about the "static" keyword there. :/

I don't really see the reason for that code to fix anything either. But I have
tested with and without it multiple times. Without the change to
"ResourceHandleSoup.cpp" it leaks, with it it doesn't.

BTW I'm testing leak with "cat /proc/<pid>/smaps" and then diff the output. The
heap is building quite fast.

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