aboutsummaryrefslogtreecommitdiffstats
path: root/lib/http_client.h
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2008-09-28 14:09:36 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2008-09-28 14:09:36 +0100
commitfb98634646e0560bc8f99b56502b6f050742a072 (patch)
tree3a8ac05ed284a2def7d7de8cc0cd1908f220fd80 /lib/http_client.h
parentb2c062d609becdffc8c8542f68e260ab7b36dbcd (diff)
Fixed crappy memory management in http_client.
Diffstat (limited to 'lib/http_client.h')
-rw-r--r--lib/http_client.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/http_client.h b/lib/http_client.h
index 78d6dbd1..d73894a4 100644
--- a/lib/http_client.h
+++ b/lib/http_client.h
@@ -80,3 +80,5 @@ struct http_request
are also supported (using ssl_client). */
void *http_dorequest( char *host, int port, int ssl, char *request, http_input_function func, gpointer data );
void *http_dorequest_url( char *url_string, http_input_function func, gpointer data );
+
+void http_free( struct http_request *req );