Commit f100d37
module_adapter: Fix memory leak in module_adapter_new
Add missing memory deallocation in the error handling code of the
module_adapter_new function. This memory can be allocated by the
module_adapter_init_data function.
Signed-off-by: Adrian Warecki <adrian.warecki@intel.com>1 parent d4cd762 commit f100d37
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
129 | 133 | | |
130 | 134 | | |
131 | 135 | | |
| |||
0 commit comments