module-filter-apply: Fix a memory leak 98/128498/3
authorKimJeongYeon <jeongyeon.kim@samsung.com>
Wed, 10 May 2017 08:04:43 +0000 (17:04 +0900)
committeryoungseok lee <youngseok7.lee@samsung.com>
Fri, 26 May 2017 05:36:55 +0000 (05:36 +0000)
commit166d232883f54d8a5137c5b6809e2c0badf6ad10
treebb9c975cfba877e9a26eb655dfc93e21f59dec4e
parent9dd31115a23d2b94057f462d7bb20ec92ab10f61
module-filter-apply: Fix a memory leak

Dynamic memory allocated to 'module_name' and 'fltr' was being leaked.
Its now freed properly before return.

BugLink: https://bugs.freedesktop.org/show_bug.cgi?id=95293
Signed-off-by: Sachin Kumar Chauhan <sachin.kc@samsung.com>
Signed-off-by: Arun Raghavan <arun@arunraghavan.net>
This patch based on:
https://cgit.freedesktop.org/pulseaudio/pulseaudio/commit/?id=a19e1e5382ca9c193d9fa33356465b040f55a672

filter-apply: fix typo "what" -> "want"

This patch based on:
https://cgit.freedesktop.org/pulseaudio/pulseaudio/commit/?id=71b128aaeabfdb0b5845ef062d8ddfd56baa77a8

Note for tizen:
The purpose of these patches is that sync code with upstream.

Change-Id: I0a8e2de2312752520e868c0dc0e84fa31bd12a00
src/modules/module-filter-apply.c