Commit ef003ce0 authored by Jian Shen's avatar Jian Shen Committed by Jiantao Xiao
Browse files

net: hns3: set the freed pointers to NULL when lifetime is not end

driver inclusion
category: cleanup
bugzilla: https://gitee.com/openeuler/kernel/issues/I8PDAE


CVE: NA

----------------------------------------------------------------------

There are several pointers are freed but not setted to NULL,
and their lifetime is not end immediately. To avoid misusing
there wild pointers, set them to NULL.

Signed-off-by: default avatarJian Shen <shenjian15@huawei.com>
parent 49f3230c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment