projects
/
profile
/
ivi
/
GSSDP.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f51925
)
Don't leak path on header parsing.
author
Jens Georg
<mail@jensge.org>
Thu, 14 Jul 2011 09:58:17 +0000
(11:58 +0200)
committer
Jens Georg
<mail@jensge.org>
Thu, 14 Jul 2011 09:58:17 +0000
(11:58 +0200)
libgssdp/gssdp-client.c
patch
|
blob
|
history
diff --git
a/libgssdp/gssdp-client.c
b/libgssdp/gssdp-client.c
index
0854b8b
..
ba52027
100644
(file)
--- a/
libgssdp/gssdp-client.c
+++ b/
libgssdp/gssdp-client.c
@@
-853,6
+853,9
@@
parse_http_request (char *buf,
g_free (req_method);
+ if (path)
+ g_free (path);
+
return TRUE;
} else {
soup_message_headers_free (*headers);