]> git.0d.be Git - empathy.git/blobdiff - libempathy-gtk/empathy-chat-text-view.c
Merge branch 'fix-585601'
[empathy.git] / libempathy-gtk / empathy-chat-text-view.c
index 5ed7c69c3e99e0eeb7ba9f8ac1f707d9e1ea2bf2..abe1fc1f3a1fea9164185fb96d35421ff611371f 100644 (file)
@@ -817,6 +817,10 @@ chat_text_view_clear (EmpathyChatView *view)
        priv = GET_PRIV (view);
 
        priv->last_timestamp = 0;
+       if (priv->last_contact) {
+               g_object_unref (priv->last_contact);
+               priv->last_contact = NULL;
+       }
 }
 
 static gboolean