aboutsummaryrefslogtreecommitdiff
path: root/src/strings.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/strings.c')
-rw-r--r--src/strings.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/strings.c b/src/strings.c
index 87d5cc37c5..72a1f11460 100644
--- a/src/strings.c
+++ b/src/strings.c
@@ -284,7 +284,7 @@ char_u *strup_save(char_u *orig)
memmove(s, res, p - res);
STRCPY(s + (p - res) + newl, p + l);
p = s + (p - res);
- vim_free(res);
+ free(res);
res = s;
}