Commit 9d914c0
idc: clear task pointer after free on prepare error
On task init failure the task allocation was freed but the pointer left
set, allowing a later free path to free it again. Clear the pointer
after freeing.
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>1 parent 26b1379 commit 9d914c0
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
| 203 | + | |
203 | 204 | | |
204 | 205 | | |
205 | 206 | | |
| |||
0 commit comments