patch 8.2.4670: memory allocation failures for new tab page not tested
Problem: Memory allocation failures for new tab page not tested.
Solution: Add tests with failing memory allocation. (Yegappan Lakshmanan,
closes #10067)
diff --git a/src/blob.c b/src/blob.c
index afc2de6..0d88c75 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);