Dolda2000 GitWeb
/
doldaconnect.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95c14b7
)
Added freeurl.
author
Fredrik Tolf
<fredrik@dolda2000.com>
Wed, 20 Jun 2007 00:25:02 +0000
(
02:25
+0200)
committer
Fredrik Tolf
<fredrik@dolda2000.com>
Sat, 21 Jul 2007 15:31:43 +0000
(17:31 +0200)
common/http.c
patch
|
blob
|
blame
|
history
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;