test/blobfs/cache_ut: assert calloc returns a buffer

Signed-off-by: Jim Harris <james.r.harris@intel.com>
Change-Id: I9d605fb844c2f11bc12b0200ca9fd1cac6c5f95d
This commit is contained in:
Jim Harris 2017-03-24 16:21:05 -07:00
parent 42eade49cc
commit 7fc640b296

View File

@ -76,6 +76,7 @@ send_request(fs_request_fn fn, void *arg)
struct ut_request *req;
req = calloc(1, sizeof(*req));
assert(req != NULL);
req->fn = fn;
req->arg = arg;
req->done = 0;