[FFmpeg-devel] [PATCH] avformat/dashdec: Don't allocate and leak strings that are never used

Anton Khirnov anton at khirnov.net
Mon Mar 16 12:46:28 EET 2020


Quoting Andreas Rheinhardt (2020-03-13 20:14:16)
> Since commit e134c203 strdups of several elements of a manifest are kept
> in the DASHContext; but said commit completely forgot to free these
> strings again (with xmlFree()). Given that these strings are never used
> at all, this commit closes this leak by reverting said commit.
> 
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
> ---
>  libavformat/dashdec.c | 27 ---------------------------
>  1 file changed, 27 deletions(-)

Looks ok.

-- 
Anton Khirnov


More information about the ffmpeg-devel mailing list