summaryrefslogtreecommitdiffstats
path: root/src/blob.c
diff options
context:
space:
mode:
authorYegappan Lakshmanan <yegappan@yahoo.com>2022-04-03 11:22:38 +0100
committerBram Moolenaar <Bram@vim.org>2022-04-03 11:22:38 +0100
commit72bb47e38f6805050ed6d969f17591bed71f83d4 (patch)
tree2a129b54c7d20524362720c8385128d5a7c7fc41 /src/blob.c
parent58f331a05f5b7bdddf04e68b6e51a827fd0c43f0 (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/blob.c')
-rw-r--r--src/blob.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blob.c b/src/blob.c
index afc2de6364..0d88c757aa 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);