[xdebug-dev] xdebug xdebug/xdebug.c - Plugged couple of dozen memleaks

From: Jani Taskinen <sniper[@]php.net>
Date: Mon, 12 Dec 2005 12:53:10 +0100

Date: Mon Dec 12 12:53:10 CET 2005
User: Jani Taskinen
Directory: xdebug

Log Message:
[0.01]
- Plugged couple of dozen memleaks

Modified files:
           xdebug/xdebug.c (version: 1.282)

[FILE: /xdebug/xdebug.c]

===================================================================
RCS file: cvstemp,v
retrieving revision 1.281
retrieving revision 1.282
diff -u -r1.281 -r1.282
--- xdebug/xdebug.c:1.281 Mon Dec 05 14:47:03 2005 GMT
+++ xdebug/xdebug.c Mon Dec 12 10:53:10 2005 GMT
@@ -1754,7 +1754,7 @@
                         }
                 }
         }
-// efree(buffer);
+ efree(buffer);
 
         /* Bail out if we can't recover */
         switch (type) {
@@ -1770,7 +1770,6 @@
                         /* restore memory limit */
                                 AG(memory_limit) = PG(memory_limit);
 #endif
- efree(buffer);
                                 zend_bailout();
                                 return;
                         }
Received on Mon Dec 12 2005 - 12:53:29 GMT

This archive was generated by hypermail 2.2.0 : Sun Jun 24 2018 - 04:00:03 BST