summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/basic/escape.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/basic/escape.c b/src/basic/escape.c
index 25f3861a5f..ce57fcc762 100644
--- a/src/basic/escape.c
+++ b/src/basic/escape.c
@@ -561,5 +561,5 @@ char* quote_command_line(char **argv, ShellEscapeFlags flags) {
return NULL;
}
- return TAKE_PTR(result);
+ return str_realloc(TAKE_PTR(result));
}