diff options
author | Olivier CrĂȘte <olivier.crete@collabora.co.uk> | 2009-09-09 17:40:57 -0400 |
---|---|---|
committer | Olivier CrĂȘte <olivier.crete@collabora.co.uk> | 2009-09-09 17:40:57 -0400 |
commit | bab8faad0c48b383b31ef62be7f1897b8f777095 (patch) | |
tree | 271e8852a5515531ffd479c624ef7f950a51c115 /telepathy-farsight | |
parent | 49bba0e09dfcb7bf64767f505ebe3f59c8aa85b4 (diff) |
Reset GValues after use
Diffstat (limited to 'telepathy-farsight')
-rw-r--r-- | telepathy-farsight/stream.c | 4 |
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 (¶ms[i].value); + if (!stream->priv->fs_stream) { tf_stream_error (stream, fserror_to_tperror (myerror), myerror->message); |