aboutsummaryrefslogtreecommitdiffstats
path: root/mail/message-list.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-11-04 06:41:03 +0800
committerDan Winship <danw@src.gnome.org>2000-11-04 06:41:03 +0800
commit4f8dfcf38064b5039e23a5965b75cbe8105c4248 (patch)
treef3a749255080bd51003ff6de1e496fb701d979c9 /mail/message-list.c
parent065fe4ad082f63fc73a8261e798674bcb58a25ca (diff)
downloadgsoc2013-evolution-4f8dfcf38064b5039e23a5965b75cbe8105c4248.tar
gsoc2013-evolution-4f8dfcf38064b5039e23a5965b75cbe8105c4248.tar.gz
gsoc2013-evolution-4f8dfcf38064b5039e23a5965b75cbe8105c4248.tar.bz2
gsoc2013-evolution-4f8dfcf38064b5039e23a5965b75cbe8105c4248.tar.lz
gsoc2013-evolution-4f8dfcf38064b5039e23a5965b75cbe8105c4248.tar.xz
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
Diffstat (limited to 'mail/message-list.c')
-rw-r--r--mail/message-list.c2
1 files changed, 1 insertions, 1 deletions
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;