diff options
author | Milan Crha <mcrha@redhat.com> | 2010-07-14 21:30:20 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2010-07-14 21:30:20 +0800 |
commit | 31128ea462c72c1e00d7864f39cbdc1bc2294108 (patch) | |
tree | dbb9663fcb56a17dbd5e07c6ef36241cb111b0d3 | |
parent | ecb600bbb40144caf409c245b44b3eadd70eb81d (diff) | |
download | gsoc2013-evolution-31128ea462c72c1e00d7864f39cbdc1bc2294108.tar gsoc2013-evolution-31128ea462c72c1e00d7864f39cbdc1bc2294108.tar.gz gsoc2013-evolution-31128ea462c72c1e00d7864f39cbdc1bc2294108.tar.bz2 gsoc2013-evolution-31128ea462c72c1e00d7864f39cbdc1bc2294108.tar.lz gsoc2013-evolution-31128ea462c72c1e00d7864f39cbdc1bc2294108.tar.xz gsoc2013-evolution-31128ea462c72c1e00d7864f39cbdc1bc2294108.tar.zst gsoc2013-evolution-31128ea462c72c1e00d7864f39cbdc1bc2294108.zip |
Bug #624335 - Abort after group-by-thread with certain sorting
-rw-r--r-- | mail/message-list.c | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/mail/message-list.c b/mail/message-list.c index 969412de4b..f88f08bc37 100644 --- a/mail/message-list.c +++ b/mail/message-list.c @@ -4211,21 +4211,8 @@ static void free_message_info_data (gpointer uid, struct sort_message_info_data *data, struct sort_array_data *sort_data) { if (data->values) { - gint i; - - g_return_if_fail (data->values->len <= sort_data->sort_columns->len); - - for (i = 0; i < data->values->len; i++) { - gpointer v = g_ptr_array_index (data->values, i); - struct sort_column_data *scol; - - if (!v) - continue; - - scol = g_ptr_array_index (sort_data->sort_columns, i); - ml_free_value (NULL, scol->col->compare_col, v, NULL); - } - + /* values in this array are not newly allocated, even ml_tree_value_at_ex + returns gpointer, not a gconstpointer */ g_ptr_array_free (data->values, TRUE); } |