X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=lib-mime%2Frfc2231.c;h=bf05bef9b8400dfaa6b4258da34a4d79b77b1d89;hb=b241f87351127948f83842d537c1a76536bf61c1;hp=e7c10533e40bb0367a0641de209641d673c37928;hpb=3a3420a4cb3369d51eecc9287d556596f98e7314;p=apps%2Fmadmutt.git diff --git a/lib-mime/rfc2231.c b/lib-mime/rfc2231.c index e7c1053..bf05bef 100644 --- a/lib-mime/rfc2231.c +++ b/lib-mime/rfc2231.c @@ -47,6 +47,7 @@ #include #include "charset.h" +#include "mutt.h" typedef struct rfc2231_param { struct rfc2231_param *next; @@ -141,7 +142,7 @@ static void purge_empty_parameters(PARAMETER **headp) if (!p->attribute || !p->value) { *headp = p->next; p->next = NULL; - parameter_delete(&p); + parameter_list_wipe(&p); } else { headp = &(*headp)->next; }