summaryrefslogtreecommitdiffstats
path: root/src/edit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/edit.c')
-rw-r--r--src/edit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/edit.c b/src/edit.c
index 6e2fdb8448..6e4b4743c4 100644
--- a/src/edit.c
+++ b/src/edit.c
@@ -3859,7 +3859,7 @@ replace_push(
if (replace_stack_len <= replace_stack_nr)
{
replace_stack_len += 50;
- p = lalloc(sizeof(char_u) * replace_stack_len, TRUE);
+ p = alloc(sizeof(char_u) * replace_stack_len);
if (p == NULL) /* out of memory */
{
replace_stack_len -= 50;