Commit 5354b800 5354b800503a73b936dc23584f14b8a37fd11473 by Alain Magloire

Free the body and the url when done.

1 parent 144b407d
......@@ -65,6 +65,7 @@ body_destroy (body_t *pbody, void *owner)
if (body->filename)
free (body->filename);
stream_destroy (&(body->stream), body);
free (body);
}
*pbody = NULL;
}
......
......@@ -62,6 +62,8 @@ url_destroy (url_t *purl)
if (url->host)
free (url->host);
free (url);
*purl = NULL;
}
}
......