diff options
| author | Andrew Goodbody <[email protected]> | 2025-08-04 17:56:57 +0100 |
|---|---|---|
| committer | Peng Fan <[email protected]> | 2025-08-27 15:42:08 +0800 |
| commit | 9ca756cee7e8f9d6ecc0a69fa785caabd61f3f6a (patch) | |
| tree | c5e95b36f91a7176c71c6c8132969292de32549b /doc/develop | |
| parent | 756580d090e5dcb3c45d1f0147cc596ae4efd961 (diff) | |
net: fsl-mc: NULL check dflt_dpbp before dereference
In dpbp_exit there is a NULL check for dflt_dpbp after it is
dereferenced a number of times. Instead move the NULL check to early in
the function. Also assign NULL to dflt_dpbp after free in both dpbp_init
and dpbp_exit.
This issue was found by Smatch.
Signed-off-by: Andrew Goodbody <[email protected]>
Signed-off-by: Peng Fan <[email protected]>
Diffstat (limited to 'doc/develop')
0 files changed, 0 insertions, 0 deletions
