i40e: Fix a memory leak in X722 rss config path
authorAnjali Singhai <anjali.singhai@intel.com>
Mon, 24 Aug 2015 20:26:53 +0000 (13:26 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sun, 4 Oct 2015 02:09:50 +0000 (19:09 -0700)
commit126b63d9d3aa99a90381ed168a885989dd33cf15
treef494597ac249788baac7aef2d971c9f08bace46e
parent27ca2753500537b8f3f3aba43558d68e2e8439a1
i40e: Fix a memory leak in X722 rss config path

In any case free the memory allocated before exiting.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Anjali Singhai Jain <anjali.singhai@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c