Re: [Vala] Memory leak in async dbus calls
- From: Jürg Billeter <j bitron ch>
- To: "Dierberg, Sascha" <dierberg DResearch de>
- Cc: vala-list gnome org
- Subject: Re: [Vala] Memory leak in async dbus calls
- Date: Wed, 10 Feb 2010 12:59:20 +0100
Hi,
On Wed, 2010-02-03 at 16:15 +0100, Dierberg, Sascha wrote:
compiling this min vala test file I got code that calls
_data_ = g_slice_new0 (testDBusProxySetLedData);
in test_dbus_proxy_set_led_async which is never freeed nor has the
dbus_pending_call_set_notify (_pending, test_dbus_proxy_set_led_ready,
_data_, NULL);
a valid DBusFreeFunction (param 4: NULL).
What I am missing is a line like:
g_slice_free(testDBusProxySetLedData, _data_);
This and a few related memory leaks have been fixed now.
Jürg
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]