Index: uspace/lib/http/src/http.c
===================================================================
--- uspace/lib/http/src/http.c	(revision 0e7c3d945e5577b7d3eb35ce33778dfb21249380)
+++ uspace/lib/http/src/http.c	(revision 3e2291a92414078b4b925e2556f98dff44eefea0)
@@ -121,5 +121,8 @@
 	
 	tcp_conn_destroy(http->conn);
+	http->conn = NULL;
 	tcp_destroy(http->tcp);
+	http->tcp = NULL;
+	
 	return EOK;
 }
@@ -127,4 +130,5 @@
 void http_destroy(http_t *http)
 {
+	(void) http_close(http);
 	recv_buffer_fini(&http->recv_buffer);
 	free(http);
