module-filter-apply: Fix a memory leak
authorSachin Kumar Chauhan <sachin.kc@samsung.com>
Tue, 10 May 2016 06:10:03 +0000 (11:40 +0530)
committerArun Raghavan <arun@arunraghavan.net>
Tue, 10 May 2016 12:14:38 +0000 (17:44 +0530)
commita19e1e5382ca9c193d9fa33356465b040f55a672
treecc6f62657ecf98368f7526bc946f8ad7e33433ba
parentfcee3da944703f382209f0638cc4ef5beb8122a9
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>
src/modules/module-filter-apply.c