Commit f0c7938
committed
smex: clear freed section buffer pointer on error
On a read error the section reader freed the output buffer but left the
caller's pointer set, so a caller cleanup path could free it again.
Clear the pointer after freeing.
Signed-off-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>1 parent f2509c3 commit f0c7938
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
514 | 514 | | |
515 | 515 | | |
516 | 516 | | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
517 | 521 | | |
518 | 522 | | |
519 | 523 | | |
| |||
0 commit comments