GNOME Bugzilla – Bug 678781
memory leak in e-d-s backend
Last modified: 2012-06-25 20:50:16 UTC
In file backends/eds/lib/edsf-persona.vala
All values returned by E.Contact.get() leaks.
var _full_name = (string?) this._get_property ("full_name");
void* _tmp0_ = NULL;
_tmp0_ = _edsf_persona_get_property (self, "full_name");
_tmp1_ = g_strdup ((const gchar*) _tmp0_);
and _tmp0_ not freed.
Vala is new for me, so I'm not sure it's bug in folks or somewhere else.
owned cast seems don't work for strings...
Thanks for the detailed bug report! This has been fixed in master (and thus will be in the 0.7.2 release), but can’t be backported to the 0.6.x series due to needing an EDS dependency bump.
Author: Philip Withnall <email@example.com>
Date: Mon Jun 25 21:47:55 2012 +0100
eds: Fix memory leaks in EDS backend
These were unavoidably caused by a problem with the EDS Vala bindings. This
will be fixed in EDS 3.5.4, so our dependency has been bumped.
NEWS | 2 +
backends/eds/lib/edsf-persona.vala | 50 +++++++++++++++++------------------
configure.ac | 2 +-
3 files changed, 27 insertions(+), 27 deletions(-)