On Sun, Oct 11, 2020 at 10:58:04AM -0300, James Almer wrote: > On 10/11/2020 10:46 AM, Michael Niedermayer wrote: > > Fixes: memleak > > Fixes: > > 25838/clusterfuzz-testcase-minimized-ffmpeg_BSF_TRACE_HEADERS_fuzzer-5736255957237760 > > > > Found-by: continuous fuzzing process > > https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg > > Signed-off-by: Michael Niedermayer <mich...@niedermayer.cc> > > --- > > libavcodec/cbs_av1.c | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/libavcodec/cbs_av1.c b/libavcodec/cbs_av1.c > > index 65cf45fcfa..8aa7b09fa7 100644 > > --- a/libavcodec/cbs_av1.c > > +++ b/libavcodec/cbs_av1.c > > @@ -1228,6 +1228,7 @@ static void cbs_av1_free_metadata(void *unit, uint8_t > > *content) > > av_buffer_unref(&md->metadata.itut_t35.payload_ref); > > break; > > } > > + av_free(content); > > nit: av_freep() to be consistent with how cbs_h2645 handles this.
av_freep() does a dead assignment, this could trigger warnings maybe > > LGTM either way. will apply later thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB You can kill me, but you cannot change the truth.
signature.asc
Description: PGP signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".