From: Fredrik Tolf Date: Wed, 20 Jun 2007 00:25:02 +0000 (+0200) Subject: Added freeurl. X-Git-Tag: 1.0~101 X-Git-Url: http://git.dolda2000.com/gitweb/?p=doldaconnect.git;a=commitdiff_plain;h=061d5c595dcaa3082efc92cfe467cae9cd5e2f52 Added freeurl. --- diff --git a/common/http.c b/common/http.c index 3342a60..f09ac3c 100644 --- a/common/http.c +++ b/common/http.c @@ -29,6 +29,14 @@ #include #include +void freeurl(struct hturlinfo *ui) +{ + free(ui->host); + free(ui->path); + free(ui->query); + free(ui); +} + struct hturlinfo *parseurl(char *url) { char *p, *p2, *p3;