Skip to content
Commit 3d90d2f4 authored by Johannes Berg's avatar Johannes Berg
Browse files

wifi: iwlwifi: fw: fix memory leak in debugfs



Fix a memory leak that occurs when reading the fw_info
file all the way, since we return NULL indicating no
more data, but don't free the status tracking object.

Fixes: 36dfe9ac ("iwlwifi: dump api version in yaml format")
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
Signed-off-by: default avatarGregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20230418122405.239e501b3b8d.I4268f87809ef91209cbcd748eee0863195e70fa2@changeid


Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent c5050696
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment