]> git.sesse.net Git - ffmpeg/commit
lavfi/sinc: fix memory leak in error handling path
authorJun Zhao <barryjzhao@tencent.com>
Tue, 10 Sep 2019 10:50:11 +0000 (18:50 +0800)
committerJun Zhao <barryjzhao@tencent.com>
Wed, 11 Sep 2019 02:36:34 +0000 (10:36 +0800)
commit944d76a3e056c26bfa2b6459ec1888f0676a37f2
treef131ef893608edd014a1d5b5e5d5ffb8663d1144
parent44b55a8c9c87cd54b404dbf0b1d716eeec5357e6
lavfi/sinc: fix memory leak in error handling path

free work&pi_wraps in error handling path to avoid memory leak.

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
libavfilter/asrc_sinc.c