Dolda2000 GitWeb
/
doldaconnect.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added freeurl.
[doldaconnect.git]
/
common
/
http.c
diff --git
a/common/http.c
b/common/http.c
index
3342a60
..
f09ac3c
100644
(file)
--- a/
common/http.c
+++ b/
common/http.c
@@
-29,6
+29,14
@@
#include <utils.h>
#include <http.h>
+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;