diff options
Diffstat (limited to 'src/facebook-connection.c')
-rw-r--r-- | src/facebook-connection.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/facebook-connection.c b/src/facebook-connection.c index d8f4c92..3254668 100644 --- a/src/facebook-connection.c +++ b/src/facebook-connection.c @@ -474,7 +474,6 @@ _update_profiles (GruschlerFacebookConnection *self, GValue entry = { 0, }; GPtrArray *aliases; TpHandle handle; - int i; g_value_init (&entry, TP_STRUCT_TYPE_ALIAS_PAIR); g_value_take_boxed (&entry, dbus_g_type_specialized_construct @@ -508,11 +507,8 @@ _update_profiles (GruschlerFacebookConnection *self, } tp_svc_connection_interface_aliasing_emit_aliases_changed (self, aliases); - - for (i = 0; aliases->len; ++i) - g_boxed_free (TP_STRUCT_TYPE_ALIAS_PAIR, aliases->pdata[i]); - g_ptr_array_free (aliases, TRUE); + g_value_unset (&entry); } |