diff options
| -rw-r--r-- | ext/standard/file.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/standard/file.c b/ext/standard/file.c index f650c5fb3d..420558a59e 100644 --- a/ext/standard/file.c +++ b/ext/standard/file.c @@ -838,6 +838,7 @@ PHP_FUNCTION(popen) if (!fp) { php_error_docref2(NULL TSRMLS_CC, buf, p, E_WARNING, "%s", strerror(errno)); + efree(p); RETURN_FALSE; } } else { |
