Skip to content

Commit 9020476

Browse files
committed
module_adapter: use after free
1 parent dd25163 commit 9020476

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

src/audio/module_adapter/module_adapter.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -335,10 +335,6 @@ struct comp_dev *module_adapter_new_ext(const struct comp_driver *drv,
335335
schedule_task_free(dev->task);
336336
#endif
337337
module_adapter_mem_free(mod);
338-
#if CONFIG_IPC_MAJOR_4
339-
dst->ext_data = NULL;
340-
#endif
341-
342338
return NULL;
343339
}
344340

0 commit comments

Comments
 (0)