summaryrefslogtreecommitdiff
path: root/crypto/pkcs7/pk7_mime.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/pkcs7/pk7_mime.c')
-rw-r--r--crypto/pkcs7/pk7_mime.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/pkcs7/pk7_mime.c b/crypto/pkcs7/pk7_mime.c
index 54d5f422ad..71468468d8 100644
--- a/crypto/pkcs7/pk7_mime.c
+++ b/crypto/pkcs7/pk7_mime.c
@@ -643,14 +643,14 @@ static void mime_hdr_free(MIME_HEADER *hdr)
if(hdr->name) Free(hdr->name);
if(hdr->value) Free(hdr->value);
if(hdr->params) sk_pop_free(hdr->params, mime_param_free);
- Free((char *)hdr);
+ Free(hdr);
}
static void mime_param_free(MIME_PARAM *param)
{
if(param->param_name) Free(param->param_name);
if(param->param_value) Free(param->param_value);
- Free((char *)param);
+ Free(param);
}
/* Check for a multipart boundary. Returns: