com php-src: Fixed memory leak: ext/standard/basic_functions .c
| From: | Dmitry Stogov | Date: | Thu, 27 Feb 2014 18:21:02 +0000 |
| Subject: | com php-src: Fixed memory leak: ext/standard/basic_functions .c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-77859@lists.php.net to get a copy of this message | ||
Commit: 3f4759515ceb6b2175bf2ba2dee77b24b2e0e233
Author: Dmitry Stogov <dmitry@zend.com> Thu, 27 Feb 2014 22:21:02 +0400
Parents: 0e44e0611d85a06b68f5c578b22ed47aa49fbbee
Branches: phpng
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=3f4759515ceb6b2175bf2ba2dee77b24b2e0e233
Log:
Fixed memory leak
Changed paths:
M ext/standard/basic_functions.c
Diff:
diff --git a/ext/standard/basic_functions.c b/ext/standard/basic_functions.c
index fd2aae2..113a786 100644
--- a/ext/standard/basic_functions.c
+++ b/ext/standard/basic_functions.c
@@ -3463,6 +3463,7 @@ static void php_putenv_destructor(zval *zv) /* {{{ */
efree(pe->putenv_string);
efree(pe->key);
+ efree(pe);
}
/* }}} */
#endif