diff options
Diffstat (limited to 'docs/examples')
-rw-r--r-- | docs/examples/smtp-mime.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/examples/smtp-mime.c b/docs/examples/smtp-mime.c index a467535a9..2895dbc31 100644 --- a/docs/examples/smtp-mime.c +++ b/docs/examples/smtp-mime.c @@ -153,6 +153,9 @@ int main(void) * clean up in the end. */ curl_easy_cleanup(curl); + + /* Free multipart message. */ + curl_mime_free(mime); } return (int)res; |