# HG changeset patch # User Elliott Sales de Andrade # Date 1282796900 0 # Node ID 735c759d80d66ea6ba35b4add52b4cd61a44eba3 # Parent 4c050b6e9bd14d8259eabba5b756521abd8d1595 Using if (x) g_free(x) is unnecessary. diff -r 4c050b6e9bd1 -r 735c759d80d6 pidgin/plugins/gevolution/add_buddy_dialog.c --- a/pidgin/plugins/gevolution/add_buddy_dialog.c Wed Aug 25 19:14:48 2010 +0000 +++ b/pidgin/plugins/gevolution/add_buddy_dialog.c Thu Aug 26 04:28:20 2010 +0000 @@ -54,8 +54,7 @@ gevo_addrbooks_model_unref(dialog->addrbooks); - if (dialog->username != NULL) - g_free(dialog->username); + g_free(dialog->username); g_free(dialog); diff -r 4c050b6e9bd1 -r 735c759d80d6 pidgin/plugins/gevolution/new_person_dialog.c --- a/pidgin/plugins/gevolution/new_person_dialog.c Wed Aug 25 19:14:48 2010 +0000 +++ b/pidgin/plugins/gevolution/new_person_dialog.c Thu Aug 26 04:28:20 2010 +0000 @@ -204,8 +204,7 @@ if (name != NULL) e_contact_name_free(name); - if (full_name != NULL) - g_free(full_name); + g_free(full_name); delete_win_cb(NULL, NULL, dialog); }