]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
memory free bug
authorwessels <>
Sat, 15 Aug 1998 13:24:12 +0000 (13:24 +0000)
committerwessels <>
Sat, 15 Aug 1998 13:24:12 +0000 (13:24 +0000)
src/disk.cc

index 85f57841470872d615ac193d42ffcf714ac15776..d071e37a0a65d72c1c83530cd164f0f4ccb1687d 100644 (file)
@@ -1,7 +1,7 @@
 
 
 /*
- * $Id: disk.cc,v 1.125 1998/08/14 23:52:45 wessels Exp $
+ * $Id: disk.cc,v 1.126 1998/08/15 07:24:12 wessels Exp $
  *
  * DEBUG: section 6     Disk I/O Routines
  * AUTHOR: Harvest Derived
@@ -446,9 +446,6 @@ diskHandleReadComplete(void *data, int len, int errcode)
     int fd = ctrl_dat->fd;
     int rc = DISK_OK;
     errno = errcode;
-
-    xfree(data);
-
     if (len == -2 && errcode == -2) {  /* Read cancelled - cleanup */
        cbdataUnlock(ctrl_dat->client_data);
        memFree(MEM_DREAD_CTRL, ctrl_dat);