Jeb Cramer 8132e17dfb 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>
2019-09-03 16:08:54 -07:00
..
2019-05-30 10:57:55 -07:00
2019-09-03 13:47:12 -07:00
2018-03-26 09:59:08 -07:00
2019-01-15 12:38:44 -08:00
2019-08-26 23:27:10 -07:00