diff options
Diffstat (limited to 'addressbook/backend')
-rw-r--r-- | addressbook/backend/ebook/e-card.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/addressbook/backend/ebook/e-card.c b/addressbook/backend/ebook/e-card.c index 851212ae22..ac2498a236 100644 --- a/addressbook/backend/ebook/e-card.c +++ b/addressbook/backend/ebook/e-card.c @@ -727,9 +727,8 @@ add_list_unique(ECard *card, ECardList *list, char *string) } if (!e_card_iterator_is_valid(iterator)) { e_card_list_append(list, temp); - } else { - g_free(temp); } + g_free(temp); gtk_object_unref(GTK_OBJECT(iterator)); } |