[FFmpeg-devel] [PATCH v2] ffprobe: Fix memory leak
Derek Buitenhuis
derek.buitenhuis at gmail.com
Fri Jun 21 17:34:59 EEST 2019
On 21/06/2019 15:26, Nicolas George wrote:
> How can the packet not be unreferenced when the very previous
> instruction is av_packet_unref()? All the code paths I see either pass
> through the existing av_packet_unref() before reaching the new one or
> arrive with a blank packet. Am I missing something?
The previous instructions is not an unref if it hits one of the breaks
in the loop above.
- Derek
More information about the ffmpeg-devel
mailing list