aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
authorMichael Meeks <michael@helixcode.com>2001-01-03 19:04:09 +0800
committerMichael Meeks <michael@src.gnome.org>2001-01-03 19:04:09 +0800
commit2a86e81e9d4e478009682b1d524f33ed58435956 (patch)
treea30a6b8afbe571e9427a24b7684ad5461e8447d5 /addressbook
parent30a12658a3f28e81f033f9c7e3b29eefb8b6584b (diff)
downloadgsoc2013-evolution-2a86e81e9d4e478009682b1d524f33ed58435956.tar.gz
gsoc2013-evolution-2a86e81e9d4e478009682b1d524f33ed58435956.tar.zst
gsoc2013-evolution-2a86e81e9d4e478009682b1d524f33ed58435956.zip
g_strdup things we g_free.
2001-01-03 Michael Meeks <michael@helixcode.com> * backend/pas/pas-backend-file.c (pas_backend_file_search): g_strdup things we g_free. svn path=/trunk/; revision=7229
Diffstat (limited to 'addressbook')
-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));
}
}