0
0
mirror of https://github.com/vim/vim.git synced 2025-10-10 06:24:10 -04:00

patch 9.0.1037: lalloc(0) error for a class without members

Problem:    lalloc(0) error for a class without members.
Solution:   Don't allocate room for members if there aren't any.
            Don't create the class if there was an error.
This commit is contained in:
Bram Moolenaar
2022-12-08 22:09:14 +00:00
parent 3f8f827723
commit 98aeb2100c
2 changed files with 7 additions and 4 deletions

View File

@@ -695,6 +695,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1037,
/**/
1036,
/**/