]> git.sesse.net Git - ffmpeg/commit
avcodec/cngenc: Replace av_free() by av_freep() in close function
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Sun, 13 Sep 2020 23:56:44 +0000 (01:56 +0200)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Fri, 18 Sep 2020 00:51:18 +0000 (02:51 +0200)
commit29c5c8fdfb4f7c3fe22260d73e9ade7e54330a7d
treeecacaa59ea878940ed8570ec82151b24e1e7c6ef
parent0b7474a5910e6f80cb98857f0d131b13eb2aa2e0
avcodec/cngenc: Replace av_free() by av_freep() in close function

This avoids leaving pointers to already freed memory in memory.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
libavcodec/cngenc.c