diff options
-rw-r--r-- | camel/ChangeLog | 3 | ||||
-rw-r--r-- | camel/camel-folder-summary.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog index e4434010ea..793c515d1b 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -11,6 +11,9 @@ words of its own. Things like maildir use this check to see if its already been processed, and it matters if it is incorrect in this case (not just wasted cycles). + (camel_message_info_dup_to): Assign the to->strings from the + e_poolv_cpy() call, since it may allocaote a new poolv if the + lengths do not match. (camel_folder_summary_info_new_from_parser): And same here. diff --git a/camel/camel-folder-summary.c b/camel/camel-folder-summary.c index bd085b4b3f..1dfdff9dd6 100644 --- a/camel/camel-folder-summary.c +++ b/camel/camel-folder-summary.c @@ -2352,7 +2352,7 @@ camel_message_info_dup_to(const CamelMessageInfo *from, CamelMessageInfo *to) /* Copy strings */ #ifdef DOEPOOLV - e_poolv_cpy (to->strings, from->strings); + to->strings = e_poolv_cpy (to->strings, from->strings); #elif defined (DOESTRV) /* to->strings = e_strv_new(CAMEL_MESSAGE_INFO_LAST); */ e_strv_set(to->strings, CAMEL_MESSAGE_INFO_SUBJECT, camel_message_info_subject(from)); |