diff options
Diffstat (limited to 'addressbook/backend')
-rw-r--r-- | addressbook/backend/ebook/e-card-compare.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/addressbook/backend/ebook/e-card-compare.c b/addressbook/backend/ebook/e-card-compare.c index 136535409b..6f5cf86de9 100644 --- a/addressbook/backend/ebook/e-card-compare.c +++ b/addressbook/backend/ebook/e-card-compare.c @@ -337,6 +337,10 @@ match_search_info_free (MatchSearchInfo *info) if (info) { gtk_object_unref (GTK_OBJECT (info->card)); g_free (info); + + /* This should already have been deallocated, but just in case... */ + g_list_foreach (info->avoid, (GFunc) gtk_object_unref, NULL); + g_list_free (info->avoid); } } |