]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
4k page leak
authorwessels <>
Mon, 25 Nov 1996 13:49:36 +0000 (13:49 +0000)
committerwessels <>
Mon, 25 Nov 1996 13:49:36 +0000 (13:49 +0000)
src/http.cc

index 3278c818e6ba3fd0b6113f595560f2112fd09c2e..7a3b99e5b0c89348b88ecb6b1617c0f4e3fc3df1 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: http.cc,v 1.114 1996/11/25 02:35:21 wessels Exp $
+ * $Id: http.cc,v 1.115 1996/11/25 06:49:36 wessels Exp $
  *
  * DEBUG: section 11    Hypertext Transfer Protocol (HTTP)
  * AUTHOR: Harvest Derived
@@ -703,6 +703,9 @@ httpSendRequest(int fd, void *data)
     strcat(viabuf, ybuf);
     strcat(buf, viabuf);
     len += strlen(viabuf);
+    put_free_4k_page(viabuf);
+    put_free_4k_page(ybuf);
+    viabuf = ybuf = NULL;
 
     if (!saw_host) {
        ybuf = get_free_4k_page();