aboutsummaryrefslogtreecommitdiff
path: root/src/tag.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tag.c')
-rw-r--r--src/tag.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/tag.c b/src/tag.c
index 4d287c4440..d97eb61ab4 100644
--- a/src/tag.c
+++ b/src/tag.c
@@ -1990,8 +1990,7 @@ findtag_end:
match_count = 0;
if (match_count > 0)
- matches = (char_u **)lalloc((long_u)(match_count * sizeof(char_u *)),
- TRUE);
+ matches = xmalloc(match_count * sizeof(char_u *));
else
matches = NULL;
match_count = 0;