com php-src: - Fixed memory issue: phpdbg_prompt.c
| From: | Bob Weinand | Date: | Tue, 19 Nov 2013 10:53:51 +0000 |
| Subject: | com php-src: - Fixed memory issue: phpdbg_prompt.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-74805@lists.php.net to get a copy of this message | ||
Commit: d45e8825736ad4410f9cf4a43d719eec4801981a
Author: Felipe Pena <felipensp@gmail.com> Tue, 19 Nov 2013 08:53:51 -0200
Parents: e863e712346d294ded6347480814d43fdc176b7e
Branches: PHP-5.6
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=d45e8825736ad4410f9cf4a43d719eec4801981a
Log:
- Fixed memory issue
Changed paths:
M phpdbg_prompt.c
Diff:
diff --git a/phpdbg_prompt.c b/phpdbg_prompt.c
index d39ae8e..23a8706 100644
--- a/phpdbg_prompt.c
+++ b/phpdbg_prompt.c
@@ -1016,6 +1016,7 @@ int phpdbg_interactive(TSRMLS_D) /* {{{ */
} else {
if (start) {
efree(start);
+ start = NULL;
}
if (PHPDBG_G(lcmd)) {