diff options
author | Jon Trowbridge <trow@ximian.com> | 2001-09-20 01:27:51 +0800 |
---|---|---|
committer | Jon Trowbridge <trow@src.gnome.org> | 2001-09-20 01:27:51 +0800 |
commit | 80b18f730d5f33d44f5800ba8e061432f9e62014 (patch) | |
tree | dde098a8a0167db6b3a71d882a9711490ec96752 /addressbook/backend | |
parent | 6d59ad08fdda41fae4ec8a28eb126d067e2570f0 (diff) | |
download | gsoc2013-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.c | 2 |
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; |