Commit c8661085 authored by alex@thinkpad's avatar alex@thinkpad
Browse files

mlv_play: fix a fio_malloc issue (not tested, might fix issue #2766)

branch : unified
parent e5d91106bc35
......@@ -965,7 +965,7 @@ static mlv_xref_hdr_t *mlv_play_load_index(char *base_filename)
/* we should check the MLVI header for matching UID value to make sure its the right index... */
if(!memcmp(buf.blockType, "XREF", 4))
block_hdr = malloc(buf.blockSize);
block_hdr = fio_malloc(buf.blockSize);
if(FIO_ReadFile(in_file, block_hdr, buf.blockSize) != (int32_t)buf.blockSize)
Supports Markdown
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