On Thu, Nov 28, 2019 at 03:31:33PM +0100, Andreas Rheinhardt wrote: > Put an AVIOContext whose lifetime doesn't extend beyond the function where > it is allocated on the stack instead of allocating and freeing it. This > also avoids the need to free it, which in this case fixes possible > memleaks on error. > > Signed-off-by: Andreas Rheinhardt <[email protected]> > --- > libavformat/vividas.c | 19 ++++--------------- > 1 file changed, 4 insertions(+), 15 deletions(-)
will apply thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB I have never wished to cater to the crowd; for what I know they do not approve, and what they approve I do not know. -- Epicurus
signature.asc
Description: PGP signature
_______________________________________________ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
