summaryrefslogtreecommitdiff
path: root/pith
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2018-12-18 23:37:44 -0700
committerEduardo Chappa <chappa@washington.edu>2018-12-18 23:37:44 -0700
commit8602b838267f8853a00438a70bf5fdf3ddb24319 (patch)
tree4bc5a4505c500c9ac8c5db3157fc855dbb33a527 /pith
parentea4d5cd8e41c3241d8bebe4f7bbb2b7603e05283 (diff)
downloadalpine-8602b838267f8853a00438a70bf5fdf3ddb24319.tar.xz
* Prevent freeing memory that is not needed to be freed when
removing parameters of the content-type header.
Diffstat (limited to 'pith')
-rw-r--r--pith/send.c2
1 files changed, 0 insertions, 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);
}
}