From 2a86e81e9d4e478009682b1d524f33ed58435956 Mon Sep 17 00:00:00 2001 From: Michael Meeks Date: Wed, 3 Jan 2001 11:04:09 +0000 Subject: g_strdup things we g_free. 2001-01-03 Michael Meeks * backend/pas/pas-backend-file.c (pas_backend_file_search): g_strdup things we g_free. svn path=/trunk/; revision=7229 --- addressbook/backend/pas/pas-backend-file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'addressbook/backend/pas') 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)); } } -- cgit v1.2.3