[FFmpeg-devel] [PATCH V1 5/5] lavf/hlsenc: free the old_filname to avoid memory leak

2019-08-19 Thread Jun Zhao
From: Jun Zhao free the old_filname to avoid memory leak in error handle path. Signed-off-by: Jun Zhao --- libavformat/hlsenc.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index f6f9c81..9099c84 100644 --- a/libavformat/h

Re: [FFmpeg-devel] [PATCH V1 5/5] lavf/hlsenc: free the old_filname to avoid memory leak

2019-08-19 Thread Liu Steven
> 在 2019年8月19日,下午9:01,Jun Zhao 写道: > > From: Jun Zhao > > free the old_filname to avoid memory leak in error handle > path. > > Signed-off-by: Jun Zhao > --- > libavformat/hlsenc.c |1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/libavformat/hlsenc.c b/libavform