From 8602b838267f8853a00438a70bf5fdf3ddb24319 Mon Sep 17 00:00:00 2001 From: Eduardo Chappa Date: Tue, 18 Dec 2018 23:37:44 -0700 Subject: * Prevent freeing memory that is not needed to be freed when removing parameters of the content-type header. --- pith/send.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/pith/send.c b/pith/send.c index aea9c214..a501b3b0 100644 --- a/pith/send.c +++ b/pith/send.c @@ -4140,8 +4140,6 @@ remove_parameter(PARAMETER **param, char *paramname) qm->next = pm->next; pm->next = NULL; mail_free_body_parameter(&pm); - if(*param == NULL) - mail_free_body_parameter(param); } } -- cgit v1.2.3-54-g00ecf