diff options
-rw-r--r-- | libempathy/empathy-tp-contact-factory.c | 2 | ||||
-rw-r--r-- | src/empathy.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/libempathy/empathy-tp-contact-factory.c b/libempathy/empathy-tp-contact-factory.c index fe68ed0a7..9045a5961 100644 --- a/libempathy/empathy-tp-contact-factory.c +++ b/libempathy/empathy-tp-contact-factory.c @@ -1051,6 +1051,8 @@ empathy_tp_contact_factory_get_from_handles (EmpathyTpContactFactory *tp_factory tp_contact_factory_request_everything (tp_factory, new_handles); } + g_array_free (new_handles, TRUE); + return contacts; } diff --git a/src/empathy.c b/src/empathy.c index 5851d41ac..89b22b884 100644 --- a/src/empathy.c +++ b/src/empathy.c @@ -100,6 +100,8 @@ dispatch_channel_cb (EmpathyDispatcher *dispatcher, else if (!tp_strdiff (channel_type, TP_IFACE_CHANNEL_TYPE_STREAMED_MEDIA)) { empathy_call_window_new (channel); } + + g_free (channel_type); } static void |