Fix free function that doesn't free what it's told to free.
This commit is contained in:
parent
ccac151809
commit
6c5a4a84b5
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue