diff options
author | Felipe Oliveira Carvalho <felipekde@gmail.com> | 2014-05-01 15:07:48 -0300 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2014-05-07 15:52:27 -0400 |
commit | 8704a5832b6d70d0ebc3872468beaea0367f4680 (patch) | |
tree | e34df96b21b68162f43713c4f37d4540c0fe3ac7 /src/tag.c | |
parent | 973baa2a06216931747404587461184d83cbdabe (diff) | |
download | rneovim-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.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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; |