Add missing assertion on calloc() return in test code

Coverity CID#469233
parent 5531ff6d
......@@ -492,6 +492,7 @@ t_log_ard_impl(struct fellow_fd *ffd, void *priv, uint8_t type)
case DLE_OBJ_ADD:
AZ(*allocsp);
allocs = calloc(n_ids, sizeof *allocs);
AN(allocs);
*allocsp = allocs;
break;
case DLE_OBJ_DEL_ALLOCED:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment