mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-26 23:12:44 +02:00
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:
@@ -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);
|
avio_ctx = avio_alloc_context(avio_ctx_buffer, avio_ctx_buffer_size, 0, custom_io, &SAM_ReadFunc, NULL, &SAM_SeekFunc);
|
||||||
if (!avio_ctx)
|
if (!avio_ctx)
|
||||||
{
|
{
|
||||||
|
av_free(avio_ctx_buffer);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
return avio_ctx;
|
return avio_ctx;
|
||||||
|
Reference in New Issue
Block a user