diff options
author | Dan Winship <danw@src.gnome.org> | 2000-11-04 06:41:03 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2000-11-04 06:41:03 +0800 |
commit | 4f8dfcf38064b5039e23a5965b75cbe8105c4248 (patch) | |
tree | f3a749255080bd51003ff6de1e496fb701d979c9 | |
parent | 065fe4ad082f63fc73a8261e798674bcb58a25ca (diff) | |
download | gsoc2013-evolution-4f8dfcf38064b5039e23a5965b75cbe8105c4248.tar.gz gsoc2013-evolution-4f8dfcf38064b5039e23a5965b75cbe8105c4248.tar.zst gsoc2013-evolution-4f8dfcf38064b5039e23a5965b75cbe8105c4248.zip |
don't free the MessageList search when it's being reused
* message-list.c (cleanup_regenerate_messagelist): don't free the
MessageList search when it's being reused
svn path=/trunk/; revision=6382
-rw-r--r-- | mail/ChangeLog | 5 | ||||
-rw-r--r-- | mail/message-list.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 249344a32d..5faaab16eb 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,8 @@ +2000-11-03 Dan Winship <danw@helixcode.com> + + * message-list.c (cleanup_regenerate_messagelist): don't free the + MessageList search when it's being reused + 2000-11-03 Jeffrey Stedfast <fejj@helixcode.com> * mail-local.c (mail_local_map_uri): Don't show the passwd in the diff --git a/mail/message-list.c b/mail/message-list.c index 768d3f6fdf..d28021f77e 100644 --- a/mail/message-list.c +++ b/mail/message-list.c @@ -2109,7 +2109,7 @@ static void cleanup_regenerate_messagelist (gpointer in_data, gpointer op_data, camel_folder_free_uids (input->ml->folder, data->uids); /* update what we have as our search string */ - if (input->ml->search) + if (input->ml->search && input->ml->search != input->search) g_free(input->ml->search); input->ml->search = input->search; |