summaryrefslogtreecommitdiff
path: root/ext/standard/exec.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/exec.c')
-rw-r--r--ext/standard/exec.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/standard/exec.c b/ext/standard/exec.c
index cd4bd61ea2..794a67982f 100644
--- a/ext/standard/exec.c
+++ b/ext/standard/exec.c
@@ -268,7 +268,7 @@ 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 +358,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 */