Signed-off-by: LuMingYin
---
libavfilter/af_channelsplit.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/libavfilter/af_channelsplit.c b/libavfilter/af_channelsplit.c
index d18d91dcb6..2cfac19cd3 100644
--- a/libavfilter/af_channelsplit.c
+++ b/libavfilter
line 1673.
Throughout this process, the dynamic memory area pointed to by the ic pointer
is not deallocated, resulting in a memory leak.
Signed-off-by: LuMingYin
---
fftools/ffmpeg_demux.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/fftools/ffmpeg_demux.c b/fftools/ffmpeg_demux.c
index
the original memory in case of
reallocation failure, there is no need to release the memory area pointed to by
pts. Because the handling of these two scenarios differs, to fix the memory
leak issue caused by the first scenario, my patch separates the treatment of
these cases.
Signed-off-by: LuMing
Signed-off-by: LuMingYin
---
fftools/ffmpeg_mux_init.c | 7 ---
libavutil/mem.c | 5 -
2 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/fftools/ffmpeg_mux_init.c b/fftools/ffmpeg_mux_init.c
index 6d8bd5bcdf..e7e2281bd0 100644
--- a/fftools/ffmpeg_mux_init.c
+++ b
Signed-off-by: LuMingYin
---
fftools/ffmpeg_mux_init.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/fftools/ffmpeg_mux_init.c b/fftools/ffmpeg_mux_init.c
index 6d8bd5bcdf..d2146cef8c 100644
--- a/fftools/ffmpeg_mux_init.c
+++ b/fftools/ffmpeg_mux_init.c
@@ -2851,8
The pointer variable 'point', which is defined and dynamically allocated memory
within the while loop of the 'parse_points_str' function, is not released on
error paths.
Signed-off-by: LuMingYin
---
libavfilter/vf_curves.c | 6 --
1 file changed, 4 insertions(+),
The pointer variable 'fds' allocates a block of dynamic memory in the function
'ffurl_get_multi_file_handle', and the dynamic memory pointed to by this
pointer is not released on error paths.
Signed-off-by: LuMingYin
---
libavformat/rtsp.c | 1 +
1 file changed, 1 insert
In the function 'hls_write_trailer' in the file '/FFmpeg/libavformat/hlsenc.c',
the variable named 'options' allocates a block of dynamic memory in the
'av_dict_set' function, which is not freed on error paths.
Signed-off-by: LuMingYin
---
libav