diff options
author | Yegappan Lakshmanan <yegappan@yahoo.com> | 2022-04-02 21:46:19 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-04-02 21:46:19 +0100 |
commit | 0dac1ab5791819ee9a496273eea38f69a217ac45 (patch) | |
tree | a2bb44a0706e1a71b70115646ea6864e142468fa /src/buffer.c | |
parent | 5018a836c030988944a9bbe2fd2e538bf5261a72 (diff) |
patch 8.2.4668: buffer allocation failures insufficiently testedv8.2.4668
Problem: Buffer allocation failures insufficiently tested.
Solution: Add tests for memory allocation failures. (Yegappan Lakshmanan,
closes #10064)
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 93da5dcc32..c8e63c34e1 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(); + buf->b_vars = dict_alloc_id(aid_buflistnew_bvars); if (buf->b_vars == NULL) { vim_free(ffname); |