summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorXavier Roche <xroche@users.noreply.github.com>2012-11-10 08:19:15 +0000
committerXavier Roche <xroche@users.noreply.github.com>2012-11-10 08:19:15 +0000
commit11b83d136b15879ac52f439545a58a0e2a8e4364 (patch)
tree80d41ef3cd212ebea8e44a913b30d1a7b1e6033e /src
parent73d5688d654ccb692f1136fac9180dc7d4cc177f (diff)
Fixed memory leaks in proxytrack.c (patch by Eric Searcy)
Diffstat (limited to 'src')
-rw-r--r--src/proxy/proxytrack.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/proxy/proxytrack.c b/src/proxy/proxytrack.c
index 3359842..74013a1 100644
--- a/src/proxy/proxytrack.c
+++ b/src/proxy/proxytrack.c
@@ -1288,9 +1288,18 @@ static void proxytrack_process_HTTP(PT_Indexes indexes, T_SOC soc_c) {
StringFree(headers);
StringFree(output);
StringFree(host);
+ StringFree(localhost);
+#ifndef NO_WEBDAV
+ StringFree(davHeaders);
+ StringFree(davRequest);
+#endif
if (buffer)
free(buffer);
+ if (line)
+ free(line);
+ if (line1)
+ free(line1);
}
/* Generic threaded function start */