lavfi/avf_showspectrum: Fix the memory leak in error handle path
authorJun Zhao <barryjzhao@tencent.com>
Tue, 3 Dec 2019 10:16:24 +0000 (18:16 +0800)
committerJun Zhao <barryjzhao@tencent.com>
Sat, 7 Dec 2019 06:08:08 +0000 (14:08 +0800)
commit46d2a67f80e60128791d3d254fc6c17db6b94db9
tree1d616caec03791f201a3fe4092e387be3f3da8a5
parent02a83e26de6a58523ee55cfebc1312e7a4e42724
lavfi/avf_showspectrum: Fix the memory leak in error handle path

Fix the memory leak in error handle path.

Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
libavfilter/avf_showspectrum.c