[Bug 76401] memory leak from using dbus_g_method_get_sender wrong
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Mar 20 06:03:08 PDT 2014
https://bugs.freedesktop.org/show_bug.cgi?id=76401
--- Comment #2 from Simon McVittie <simon.mcvittie at collabora.co.uk> ---
Created attachment 96103
--> https://bugs.freedesktop.org/attachment.cgi?id=96103&action=edit
[5.16] dispatcher_delegate_channels: initialize am
Otherwise, if we "goto error" too soon, we'll try to g_object_unref
uninitialized memory. gcc doesn't spot that because we're using
tp_clear_object, which uses an intermediate variable, and it doesn't
propagate "uninitializedness" through assignments.
---
Happened to notice this while writing the previous patch.
--
You are receiving this mail because:
You are the QA Contact for the bug.
More information about the telepathy-bugs
mailing list