Fix free function that doesn't free what it's told to free.

This commit is contained in:
Alcaro 2015-05-19 22:06:59 +02:00
parent ccac151809
commit 6c5a4a84b5

View File

@ -249,6 +249,8 @@ void net_http_connection_free(struct http_connection_t *conn)
if (conn->urlcopy)
free(conn->urlcopy);
free(conn);
}
struct http_t *net_http_new(struct http_connection_t *conn)