From 485f7783cb398f8b29b6cc597d5a089a2c4f749f Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Tue, 21 Apr 2009 00:58:51 +0200 Subject: Simplify expression in tp_contact_list_group_add_data_unref --- libempathy/empathy-tp-contact-list.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libempathy/empathy-tp-contact-list.c b/libempathy/empathy-tp-contact-list.c index 0237570a0..a4d91be1d 100644 --- a/libempathy/empathy-tp-contact-list.c +++ b/libempathy/empathy-tp-contact-list.c @@ -228,7 +228,8 @@ tp_contact_list_group_add_data_unref (gpointer user_data) { GroupAddData *data = user_data; - if (--data->ref_count == 0) { + data->ref_count--; + if (data->ref_count == 0) { g_array_free (data->handles, TRUE); g_slice_free (GroupAddData, data); } -- cgit v1.2.3