Skip to content

Commit

Permalink
Merge pull request #3268 from eisenhauer/Cinit
Browse files Browse the repository at this point in the history
Ensure Init of Blocks Info
  • Loading branch information
eisenhauer committed Jun 30, 2022
2 parents 01c9fa2 + d19c161 commit 214229c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bindings/C/adios2/c/adios2_c_engine.cpp
Expand Up @@ -717,6 +717,7 @@ adios2_varinfo *adios2_inquire_blockinfo(adios2_engine *engine,
}
else
{
b[i].Start = b[i].Count = NULL;
if (minBlocksInfo->BlocksInfo[i].Start)
{
b[i].Start = (size_t *)malloc(sizeof(size_t) *
Expand Down

0 comments on commit 214229c

Please sign in to comment.