aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/backend
diff options
context:
space:
mode:
authorJon Trowbridge <trow@ximian.com>2001-09-20 01:27:51 +0800
committerJon Trowbridge <trow@src.gnome.org>2001-09-20 01:27:51 +0800
commit80b18f730d5f33d44f5800ba8e061432f9e62014 (patch)
treedde098a8a0167db6b3a71d882a9711490ec96752 /addressbook/backend
parent6d59ad08fdda41fae4ec8a28eb126d067e2570f0 (diff)
downloadgsoc2013-evolution-80b18f730d5f33d44f5800ba8e061432f9e62014.tar.gz
gsoc2013-evolution-80b18f730d5f33d44f5800ba8e061432f9e62014.tar.zst
gsoc2013-evolution-80b18f730d5f33d44f5800ba8e061432f9e62014.zip
Freeing name[i] instead of namev[i] is a bad idea. (bug #10270)
2001-09-19 Jon Trowbridge <trow@ximian.com> * backend/ebook/e-book-util.c (e_book_name_and_email_query): Freeing name[i] instead of namev[i] is a bad idea. (bug #10270) svn path=/trunk/; revision=12980
Diffstat (limited to 'addressbook/backend')
-rw-r--r--addressbook/backend/ebook/e-book-util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/addressbook/backend/ebook/e-book-util.c b/addressbook/backend/ebook/e-book-util.c
index 5e291eb73c..7811629571 100644
--- a/addressbook/backend/ebook/e-book-util.c
+++ b/addressbook/backend/ebook/e-book-util.c
@@ -417,7 +417,7 @@ e_book_name_and_email_query (EBook *book,
namev = g_strsplit (" ", name_cpy, 0);
for (i=0; namev[i]; ++i) {
if (*namev[i]) {
- char *str = name[i];
+ char *str = namev[i];
namev[i] = g_strdup_printf ("(contains \"file_as\" \"%s\")", namev[i]);
++count;