diff options
Diffstat (limited to 'libempathy-gtk/empathy-individual-view.c')
-rw-r--r-- | libempathy-gtk/empathy-individual-view.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-individual-view.c b/libempathy-gtk/empathy-individual-view.c index a8b294c2b..d6aec8271 100644 --- a/libempathy-gtk/empathy-individual-view.c +++ b/libempathy-gtk/empathy-individual-view.c @@ -488,6 +488,7 @@ individual_view_file_drag_received (GtkWidget *view, empathy_send_file_from_uri_list (contact, sel_data); g_object_unref (individual); + tp_clear_object (&contact); return TRUE; } @@ -898,7 +899,6 @@ individual_view_row_activated (GtkTreeView *view, return; contact = empathy_contact_dup_from_folks_individual (individual); - if (contact != NULL) { DEBUG ("Starting a chat"); @@ -908,6 +908,7 @@ individual_view_row_activated (GtkTreeView *view, } g_object_unref (individual); + tp_clear_object (&contact); } static void |