[Telepathy] [Bug 19662] New: Leaks when using OptionalInterfaceFactory
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Jan 20 09:27:31 PST 2009
http://bugs.freedesktop.org/show_bug.cgi?id=19662
Summary: Leaks when using OptionalInterfaceFactory
Product: Telepathy
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: major
Priority: high
Component: telepathy-qt4
AssignedTo: telepathy at lists.freedesktop.org
ReportedBy: andrunko at gmail.com
Some classes (such as Account/Connection) uses OptionalInterfaceFactory to get
an optional interface. The first time an optional interface is requested it
will be cached by OptionalInterfaceFactory, meaning that the returned object
cannot be destroyed by the calling, or the cache will be invalidated.
This way the classes using OptionalInterfaceFactory are not deleting the
optional interfaces, causing memory leaks.
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Telepathy
mailing list