[Telepathy] [Bug 15530] New: Leaked user_data in _call_ API

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Apr 16 03:33:28 PDT 2008


http://bugs.freedesktop.org/show_bug.cgi?id=15530

           Summary: Leaked user_data in _call_ API
           Product: Telepathy
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: telepathy-glib
        AssignedTo: telepathy at lists.freedesktop.org
        ReportedBy: xclaesse at gmail.com


In the generated code for *_call_* if there is no callback or if the interface
is not found the destroy func is not called to free user_data so it's leaked.

Passing user_data without callback seems useless, maybe we should add a
g_return_if_fail (callback != NULL || user_data == NULL);


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