[FFmpeg-devel] Possible memory leaks in dshow capture

Moritz Barsnick barsnick at gmx.net
Tue Jan 1 23:16:43 EET 2019


On Tue, Jan 01, 2019 at 17:58:42 -0300, James Almer wrote:
> Does the attached (untested) patch fix these two for you?
[...]
> +    if (!this)
> +        return
> +    av_freep(&this->imemvtbl);

Do add a semicolon after "return" for good measure. ;)

Moritz


More information about the ffmpeg-devel mailing list