[xdebug-dev] xdebug xdebug/xdebug_var.c - MFH: Fixed bug #425: memory leak (around 40MB for each request) when using

From: Derick Rethans <derick[@]derickrethans.nl>
Date: Sat, 28 Mar 2009 19:45:45 +0100

Date: Sat Mar 28 19:45:45 CET 2009
User: Derick Rethans
Directory: xdebug

Log Message:
[0.25]
- MFH: Fixed bug #425: memory leak (around 40MB for each request) when using
  xdebug_start_trace.

Modified files:
           xdebug/xdebug_var.c (version: 1.86.2.7)

[FILE: /xdebug/xdebug_var.c]

===================================================================
RCS file: cvstemp,v
retrieving revision 1.86.2.6
retrieving revision 1.86.2.7
diff -u -r1.86.2.6 -r1.86.2.7
--- xdebug/xdebug_var.c:1.86.2.6 Sat Mar 28 14:58:57 2009 GMT
+++ xdebug/xdebug_var.c Sat Mar 28 17:45:45 2009 GMT
@@ -365,6 +365,7 @@
         xdebug_var_export(&val, (xdebug_str*) &str, 1, debug_zval, options TSRMLS_CC);
 
         if (default_options) {
+ xdfree(options->runtime);
                 xdfree(options);
         }
 
Received on Sat Mar 28 2009 - 19:45:48 GMT

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