aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--addressbook/ChangeLog5
-rw-r--r--addressbook/backend/pas/pas-backend-file.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index ed810e96e6..14cf35db26 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,3 +1,8 @@
+2001-01-03 Michael Meeks <michael@helixcode.com>
+
+ * backend/pas/pas-backend-file.c (pas_backend_file_search):
+ g_strdup things we g_free.
+
2001-01-02 Christopher James Lahey <clahey@helixcode.com>
* contact-editor/e-contact-editor.c (delete_cb): Make sure this
diff --git a/addressbook/backend/pas/pas-backend-file.c b/addressbook/backend/pas/pas-backend-file.c
index 61456ddf3d..98f1962bd5 100644
--- a/addressbook/backend/pas/pas-backend-file.c
+++ b/addressbook/backend/pas/pas-backend-file.c
@@ -510,7 +510,7 @@ pas_backend_file_search (PASBackendFile *bf,
/* check if the vcard matches the search sexp */
if (vcard_matches_search (view, vcard_string)) {
- cards = g_list_append (cards, strdup(vcard_string));
+ cards = g_list_append (cards, g_strdup (vcard_string));
}
}