aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/backend/pas
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-05-16 19:45:45 +0800
committerChris Lahey <clahey@src.gnome.org>2000-05-16 19:45:45 +0800
commit4ce48773980ec26cde77275c68fa05a5eab73515 (patch)
tree77e338dfe31f3bbb978f5cd7ddc94f2fc1a96e7b /addressbook/backend/pas
parent006c78bdab12452630ecf0f7b97c8f0870fcca8c (diff)
downloadgsoc2013-evolution-4ce48773980ec26cde77275c68fa05a5eab73515.tar.gz
gsoc2013-evolution-4ce48773980ec26cde77275c68fa05a5eab73515.tar.zst
gsoc2013-evolution-4ce48773980ec26cde77275c68fa05a5eab73515.zip
Fixed some memory leaks.
2000-05-16 Christopher James Lahey <clahey@helixcode.com> * backend/ebook/e-card-simple.c, backend/pas/pas-backend-file.c, contact-editor/e-contact-editor.c, ename/e-name-western.c, gui/component/addressbook.c, gui/minicard/e-minicard-view.c: Fixed some memory leaks. * backend/ebook/e-card.c: Rearranged some code. svn path=/trunk/; revision=3085
Diffstat (limited to 'addressbook/backend/pas')
-rw-r--r--addressbook/backend/pas/pas-backend-file.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/addressbook/backend/pas/pas-backend-file.c b/addressbook/backend/pas/pas-backend-file.c
index 1659eef062..9de1b1c421 100644
--- a/addressbook/backend/pas/pas-backend-file.c
+++ b/addressbook/backend/pas/pas-backend-file.c
@@ -666,6 +666,8 @@ pas_backend_file_process_modify_card (PASBackend *backend,
Evolution_BookListener_CardNotFound);
}
+ g_free(old_vcard_string);
+
gtk_object_unref(GTK_OBJECT(card));
g_free (req->vcard);
}
@@ -800,6 +802,8 @@ pas_backend_file_process_get_book_view (PASBackend *backend,
bf->priv->book_views = g_list_prepend(bf->priv->book_views, view);
pas_backend_file_search (bf, book, view);
+
+ g_free(req->search);
}
static void