diff options
author | Yegappan Lakshmanan <yegappan@yahoo.com> | 2022-04-03 11:22:38 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-04-03 11:22:38 +0100 |
commit | 72bb47e38f6805050ed6d969f17591bed71f83d4 (patch) | |
tree | 2a129b54c7d20524362720c8385128d5a7c7fc41 /src/buffer.c | |
parent | 58f331a05f5b7bdddf04e68b6e51a827fd0c43f0 (diff) |
patch 8.2.4670: memory allocation failures for new tab page not testedv8.2.4670
Problem: Memory allocation failures for new tab page not tested.
Solution: Add tests with failing memory allocation. (Yegappan Lakshmanan,
closes #10067)
Diffstat (limited to 'src/buffer.c')
-rw-r--r-- | src/buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buffer.c b/src/buffer.c index c8e63c34e1..8b50540e4e 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -2093,7 +2093,7 @@ buflist_new( } #ifdef FEAT_EVAL // init b: variables - buf->b_vars = dict_alloc_id(aid_buflistnew_bvars); + buf->b_vars = dict_alloc_id(aid_newbuf_bvars); if (buf->b_vars == NULL) { vim_free(ffname); |