Files
linux/drivers
Eric Joyner 857a4f0e9f ice: Fix resource leak on early exit from function
Memory allocated in the ice_add_prof_id_vsig() function wasn't being
properly freed if an error occurred inside the for-loop in the function.

In particular, 'p' wasn't being freed if an error occurred before it was
added to the resource list at the end of the for-loop.

Signed-off-by: Eric Joyner <eric.joyner@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2020-05-21 22:10:04 -07:00
..
2020-03-23 07:59:38 +01:00
…
2020-04-10 11:32:22 +02:00
…
2020-03-09 11:12:19 +01:00
…
…
…
2020-04-04 18:07:59 -07:00
2020-04-16 13:52:31 -07:00
2020-03-19 23:04:32 -05:00
…
2020-05-15 17:29:41 +02:00
…
…
…
…
2020-04-17 06:05:29 -04:00
…
…
…
…
…
2020-04-20 10:19:22 -04:00
2020-03-19 07:41:03 +01:00
…
…