forked from aniani/vim
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)
This commit is contained in:
committed by
Bram Moolenaar
parent
58f331a05f
commit
72bb47e38f
@@ -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);
|
||||
|
Reference in New Issue
Block a user