aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libempathy-gtk/empathy-log-window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-log-window.c b/libempathy-gtk/empathy-log-window.c
index 435c99760..4ff658834 100644
--- a/libempathy-gtk/empathy-log-window.c
+++ b/libempathy-gtk/empathy-log-window.c
@@ -2480,7 +2480,7 @@ log_window_got_messages_for_date_cb (GObject *manager,
{
EmpathyMessage *msg = empathy_message_from_tpl_log_event (event);
log_window_append_message (event, msg);
- g_object_unref (msg);
+ tp_clear_object (&msg);
}
g_object_unref (event);