aboutsummaryrefslogtreecommitdiff
path: root/src/tag.c
diff options
context:
space:
mode:
authorFelipe Oliveira Carvalho <felipekde@gmail.com>2014-05-01 15:07:48 -0300
committerJustin M. Keyes <justinkz@gmail.com>2014-05-07 15:52:27 -0400
commit8704a5832b6d70d0ebc3872468beaea0367f4680 (patch)
treee34df96b21b68162f43713c4f37d4540c0fe3ac7 /src/tag.c
parent973baa2a06216931747404587461184d83cbdabe (diff)
downloadrneovim-8704a5832b6d70d0ebc3872468beaea0367f4680.tar.gz
rneovim-8704a5832b6d70d0ebc3872468beaea0367f4680.tar.bz2
rneovim-8704a5832b6d70d0ebc3872468beaea0367f4680.zip
Replace lalloc() with xmalloc()
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;