[Bug 48471] TpConnection self_contact / TpContact circular reference results in a leak

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Apr 10 11:00:55 CEST 2012


https://bugs.freedesktop.org/show_bug.cgi?id=48471

--- Comment #1 from Simon McVittie <simon.mcvittie at collabora.co.uk> 2012-04-10 02:00:55 PDT ---
> The reffed TpContact in the self_contact member should be unreffed on dispose

Fine.

> TpContact is [potentially] reffed by TpConnection: can't hold a TpConnection ref

I think this is an API break: functionality that used to work (getting a
contact's connection) no longer does.

We should certainly fix it on next (by breaking the circular ref in one
direction or the other - probably the direction you've implemented here), but I
don't think this is acceptable in a branch that isn't breaking API.

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



More information about the telepathy-bugs mailing list