diff options
| author | Jeb Cramer <jeb.j.cramer@intel.com> | 2019-08-02 11:25:26 +0300 |
|---|---|---|
| committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2019-09-04 02:08:54 +0300 |
| commit | 8132e17dfb1683f1ef7ebf6fa8b61c1f48152660 (patch) | |
| tree | cbecb318cb240147d11a6689e03083b03a8d0557 /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | 03af840650bb4a1cfa95ea93493d04b679ab5f5c (diff) | |
| download | linux-8132e17dfb1683f1ef7ebf6fa8b61c1f48152660.tar.xz | |
ice: Fix resource leak in ice_remove_rule_internal()
We don't free s_rule if ice_aq_sw_rules() returns a non-zero status. If
it returned a zero status, s_rule would be freed right after, so this
implies it should be freed within the scope of the function regardless.
Signed-off-by: Jeb Cramer <jeb.j.cramer@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions
