Commit b5e48ed
committed
module_adapter: Fill module fields before starting dp thread
Move mod field initialization in module_adapter_new_ext() before creating
the dp thread. Moving the initialization earlier prevents the dp thread
from use uninitialized data.
Signed-off-by: Adrian Warecki <adrian.warecki@intel.com>1 parent 96ab79a commit b5e48ed
1 file changed
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
226 | 226 | | |
227 | 227 | | |
228 | 228 | | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
229 | 235 | | |
230 | 236 | | |
231 | 237 | | |
| |||
236 | 242 | | |
237 | 243 | | |
238 | 244 | | |
239 | | - | |
240 | | - | |
241 | | - | |
242 | | - | |
243 | | - | |
244 | | - | |
245 | 245 | | |
246 | 246 | | |
247 | 247 | | |
| |||
0 commit comments