possible mem leak

Origin commit data
------------------
Branch: master
Commit: b4567455d4
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2019-07-18 (Thu, 18 Jul 2019)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Jacek Jendrzej
2019-07-18 16:45:39 +02:00
committed by vanhofen
parent 10f6bb32c0
commit 5eba1fc812

View File

@@ -1520,6 +1520,7 @@ AVIOContext *container_ffmpeg_get_avio_context(CustomIOCtx_t *custom_io, size_t
avio_ctx = avio_alloc_context(avio_ctx_buffer, avio_ctx_buffer_size, 0, custom_io, &SAM_ReadFunc, NULL, &SAM_SeekFunc);
if (!avio_ctx)
{
av_free(avio_ctx_buffer);
return NULL;
}
return avio_ctx;