[Bug 45554] various modules' GAsyncResults cannot safely be reffed and kept around

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Feb 2 10:28:52 CET 2012


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

--- Comment #2 from Simon McVittie <simon.mcvittie at collabora.co.uk> 2012-02-02 09:28:52 UTC ---
Created attachment 56542
  --> https://bugs.freedesktop.org/attachment.cgi?id=56542
[2/7] TpAccount: ensure that async-returned objects live as  long as the result

It is valid to keep a GAsyncResult for as long as you like, so it will
have to take a copy of the result data. Otherwise, a change as simple as
replacing g_simple_async_result_complete with ..._complete_in_idle
will result in the data having already been freed by the time the
caller sees it.

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