Skip to content

Commit 16367b7

Browse files
author
Jyri Sarha
committed
module_adapter: Free all module associated memory module_adapter_free()
Free all module associated memory module_adapter_free() by calling mod_free_all(). Signed-off-by: Jyri Sarha <jyri.sarha@linux.intel.com>
1 parent 9f1ed60 commit 16367b7

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/audio/module_adapter/module_adapter.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1223,6 +1223,8 @@ void module_adapter_free(struct comp_dev *dev)
12231223
buffer_free(buffer);
12241224
}
12251225

1226+
mod_free_all(mod);
1227+
12261228
#if CONFIG_IPC_MAJOR_4
12271229
rfree(mod->priv.cfg.input_pins);
12281230
#endif

0 commit comments

Comments
 (0)