summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/standard/exec.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/ext/standard/exec.c b/ext/standard/exec.c
index 794a67982f..e23dc7c642 100644
--- a/ext/standard/exec.c
+++ b/ext/standard/exec.c
@@ -268,8 +268,6 @@ PHPAPI char *php_escape_shell_cmd(char *str)
char *cmd;
char *p = NULL;
size_t estimate = (2 * l) + 1;
-
- TSRMLS_FETCH();
cmd = safe_emalloc(2, l, 1);
@@ -358,7 +356,6 @@ PHPAPI char *php_escape_shell_arg(char *str)
int x, y = 0, l = strlen(str);
char *cmd;
size_t estimate = (4 * l) + 3;
- TSRMLS_FETCH();
cmd = safe_emalloc(4, l, 3); /* worst case */