resampler: Fix leaking lfe filter on init failure
authorBarun Kumar Singh <barun.singh@samsung.com>
Fri, 13 May 2016 10:44:31 +0000 (16:14 +0530)
committerArun Raghavan <arun@arunraghavan.net>
Fri, 27 May 2016 04:07:37 +0000 (09:37 +0530)
commit1d5dfccbb2b72abca6989a1c85b92e3e6e23bded
treef6dbe1e82160837c9829782bf8d8a12b51fcfe4f
parentadbaae77d6a36725ba4235f6402e7d5bee59863f
resampler: Fix leaking lfe filter on init failure

Fix memory leak in pa_resampler_new() in resampler.c, Deallocating
memory of r->lfe_filter in case of fail.

Signed-off-by: Arun Raghavan <arun@arunraghavan.net>
src/pulsecore/resampler.c