summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2023-04-18 12:28:08 +0300
committerJohannes Berg <johannes.berg@intel.com>2023-04-20 11:45:55 +0200
commit457d7fb03e6c3d73fbb509bd85fc4b02d1ab405e (patch)
tree7d0e8b37cae93afa355eeaa3c4bafa2a42ce284d /tools/perf/scripts/python
parentf4d4ba4613dc92a58a8c051f7b6bcb0276b1fecc (diff)
wifi: iwlwifi: mvm: fix potential memory leak
If we do get multiple notifications from firmware, then we might have allocated 'notif', but don't free it. Fix that by checking for duplicates before allocation. Fixes: 4da46a06d443 ("wifi: iwlwifi: mvm: Add support for wowlan info notification") Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Gregory Greenman <gregory.greenman@intel.com> Link: https://lore.kernel.org/r/20230418122405.116758321cc4.I8bdbcbb38c89ac637eaa20dda58fa9165b25893a@changeid Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions