Commit fb011df
committed
MDRC: Improve Resource Cleanup in multiband_drc_free
- Added comprehensive documentation for multiband_drc_free function,
detailing its purpose, parameters, and the cleanup process.
- Introduced validation to check if component data (`cd`) is not NULL
before freeing associated resources.
- Ensured all allocated resources are properly freed, and nullified
the private module data pointer upon cleanup.
- Provided clear log messages indicating the start and successful
completion of the free operation.
- Included necessary comments to clarify code intent and improve
maintainability.
Signed-off-by: Shriram Shastry <malladi.sastry@intel.com>1 parent d7ec648 commit fb011df
1 file changed
+21
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
396 | 396 | | |
397 | 397 | | |
398 | 398 | | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
399 | 410 | | |
400 | 411 | | |
401 | 412 | | |
402 | 413 | | |
403 | 414 | | |
404 | 415 | | |
405 | | - | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
406 | 426 | | |
407 | | - | |
408 | 427 | | |
409 | 428 | | |
410 | 429 | | |
| |||
0 commit comments