diff options
Diffstat (limited to 'addressbook')
-rw-r--r-- | addressbook/ChangeLog | 3 | ||||
-rw-r--r-- | addressbook/backend/ebook/e-book-util.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index 619c419486..bc3a39a295 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,5 +1,8 @@ 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) + * gui/component/select-names/e-select-names-popup.c (popup_menu_card): Properly handle our GnomeUIInfo labels so that they won't be leaked if they are dynamic strings, so that they 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; |