summaryrefslogtreecommitdiff
path: root/telepathy-glib/base-contact-list.c
diff options
context:
space:
mode:
Diffstat (limited to 'telepathy-glib/base-contact-list.c')
-rw-r--r--telepathy-glib/base-contact-list.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/telepathy-glib/base-contact-list.c b/telepathy-glib/base-contact-list.c
index 456418377..79bd6b980 100644
--- a/telepathy-glib/base-contact-list.c
+++ b/telepathy-glib/base-contact-list.c
@@ -1165,11 +1165,12 @@ tp_base_contact_list_contacts_changed_internal (TpBaseContactList *self,
_tp_base_contact_list_presence_state_to_letter (publish),
publish_request);
- g_variant_builder_add (&changes, "{u(uu&s)}", contact, subscribe,
+ g_variant_builder_add (&changes, "{u(uus)}", contact, subscribe,
publish, publish_request);
g_variant_builder_add (&change_ids, "{us}", contact,
tp_handle_inspect (self->priv->contact_repo, contact));
emit_signal = TRUE;
+ g_free (publish_request);
}
if (removed != NULL)