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/blob.c | |
parent | 58f331a05f5b7bdddf04e68b6e51a827fd0c43f0 (diff) | |
download | vim-git-72bb47e38f6805050ed6d969f17591bed71f83d4.tar.gz |
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/blob.c')
-rw-r--r-- | src/blob.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blob.c b/src/blob.c index afc2de636..0d88c757a 100644 --- a/src/blob.c +++ b/src/blob.c @@ -22,7 +22,7 @@ blob_T * blob_alloc(void) { - blob_T *blob = ALLOC_CLEAR_ONE(blob_T); + blob_T *blob = ALLOC_CLEAR_ONE_ID(blob_T, aid_blob_alloc); if (blob != NULL) ga_init2(&blob->bv_ga, 1, 100); |