summaryrefslogtreecommitdiff
path: root/telepathy-farsight
diff options
context:
space:
mode:
authorOlivier CrĂȘte <olivier.crete@collabora.co.uk>2009-09-09 17:40:57 -0400
committerOlivier CrĂȘte <olivier.crete@collabora.co.uk>2009-09-09 17:40:57 -0400
commitbab8faad0c48b383b31ef62be7f1897b8f777095 (patch)
tree271e8852a5515531ffd479c624ef7f950a51c115 /telepathy-farsight
parent49bba0e09dfcb7bf64767f505ebe3f59c8aa85b4 (diff)
Reset GValues after use
Diffstat (limited to 'telepathy-farsight')
-rw-r--r--telepathy-farsight/stream.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/telepathy-farsight/stream.c b/telepathy-farsight/stream.c
index 9415a94..1505cbf 100644
--- a/telepathy-farsight/stream.c
+++ b/telepathy-farsight/stream.c
@@ -642,6 +642,7 @@ get_all_properties_cb (TpProxy *proxy,
GPtrArray *dbus_relay_info = NULL;
gboolean created_locally = TRUE;
gboolean valid = FALSE;
+ guint i;
if (dbus_error &&
!(dbus_error->domain == DBUS_GERROR &&
@@ -922,6 +923,9 @@ get_all_properties_cb (TpProxy *proxy,
params,
&myerror);
+ for (i = 0; i < n_args; i++)
+ g_value_unset (&params[i].value);
+
if (!stream->priv->fs_stream)
{
tf_stream_error (stream, fserror_to_tperror (myerror), myerror->message);