diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/mime.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/mime.c b/lib/mime.c index 04746ed09..cba95b929 100644 --- a/lib/mime.c +++ b/lib/mime.c @@ -1130,6 +1130,7 @@ void curl_mime_free(curl_mime *mime) curl_mimepart *part; if(mime) { + mime_subparts_unbind(mime); /* Be sure it's not referenced anymore. */ while(mime->firstpart) { part = mime->firstpart; mime->firstpart = part->nextpart; |