summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert James Kaes <rjkaes@users.sourceforge.net>2001-09-12 03:33:15 +0000
committerRobert James Kaes <rjkaes@users.sourceforge.net>2001-09-12 03:33:15 +0000
commitc48aea165d5cd1ac44d313340f01cb488acf09eb (patch)
tree978b0c754b5a865de1d32adb89334078f0d6b24a
parent25457361c7b7e87b2c67860aa5afceaa4b1d5797 (diff)
downloadtinyproxy-c48aea165d5cd1ac44d313340f01cb488acf09eb.tar.gz
tinyproxy-c48aea165d5cd1ac44d313340f01cb488acf09eb.zip
Fixed memory leak.
Diffstat (limited to '')
-rw-r--r--src/reqs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/reqs.c b/src/reqs.c
index e0024d6..19d8cf3 100644
--- a/src/reqs.c
+++ b/src/reqs.c
@@ -1,4 +1,4 @@
-/* $Id: reqs.c,v 1.22 2001-09-11 19:26:49 rjkaes Exp $
+/* $Id: reqs.c,v 1.23 2001-09-12 03:33:15 rjkaes Exp $
*
* This is where all the work in tinyproxy is actually done. Incoming
* connections have a new thread created for them. The thread then
@@ -321,10 +321,10 @@ static int process_method(struct conn_s *connptr)
return 0;
COMMON_EXIT:
- safefree(inbuf);
free_uri(uri);
EARLY_EXIT:
+ safefree(inbuf);
safefree(request);
return -1;
}