[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pecl-cvs
Subject:    [PECL-CVS] cvs: pecl /runkit runkit_sandbox.c
From:       "Sara Golemon" <pollita () php ! net>
Date:       2005-10-29 22:14:19
Message-ID: cvspollita1130624059 () cvsserver
[Download RAW message or body]

pollita		Sat Oct 29 18:14:19 2005 EDT

  Modified files:              
    /pecl/runkit	runkit_sandbox.c 
  Log:
  Plug a newly created leak
  
http://cvs.php.net/diff.php/pecl/runkit/runkit_sandbox.c?r1=1.24&r2=1.25&ty=u
Index: pecl/runkit/runkit_sandbox.c
diff -u pecl/runkit/runkit_sandbox.c:1.24 pecl/runkit/runkit_sandbox.c:1.25
--- pecl/runkit/runkit_sandbox.c:1.24	Sat Oct 29 18:01:27 2005
+++ pecl/runkit/runkit_sandbox.c	Sat Oct 29 18:14:17 2005
@@ -15,7 +15,7 @@
   +----------------------------------------------------------------------+
 */
 
-/* $Id: runkit_sandbox.c,v 1.24 2005/10/29 22:01:27 pollita Exp $ */
+/* $Id: runkit_sandbox.c,v 1.25 2005/10/29 22:14:17 pollita Exp $ */
 
 #include "php_runkit.h"
 
@@ -1356,6 +1356,9 @@
 	if (objval->output_handler) {
 		zval_ptr_dtor(&objval->output_handler);
 	}
+	if (objval->parent_scope_name) {
+		efree(objval->parent_scope_name);
+	}
 
 	zend_hash_destroy(objval->obj.properties);
 	FREE_HASHTABLE(objval->obj.properties);

-- 
PECL CVS Mailing List 
To unsubscribe, visit: http://www.php.net/unsub.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic