|
|
@ -3029,7 +3029,8 @@ static int mailimf_group_parse(const char * message, size_t length, |
|
|
|
struct mailimf_group * group; |
|
|
|
int r; |
|
|
|
int res; |
|
|
|
|
|
|
|
clist * list; |
|
|
|
|
|
|
|
cur_token = * indx; |
|
|
|
|
|
|
|
mailbox_list = NULL; |
|
|
@ -3056,6 +3057,17 @@ static int mailimf_group_parse(const char * message, size_t length, |
|
|
|
res = r; |
|
|
|
goto free_display_name; |
|
|
|
} |
|
|
|
list = clist_new(); |
|
|
|
if (list == NULL) { |
|
|
|
res = MAILIMF_ERROR_MEMORY; |
|
|
|
goto free_display_name; |
|
|
|
} |
|
|
|
mailbox_list = mailimf_mailbox_list_new(list); |
|
|
|
if (mailbox_list == NULL) { |
|
|
|
res = MAILIMF_ERROR_MEMORY; |
|
|
|
clist_free(list); |
|
|
|
goto free_display_name; |
|
|
|
} |
|
|
|
break; |
|
|
|
default: |
|
|
|
res = r; |
|
|
|