i40e: fix memory leak
authorMitch Williams <mitch.a.williams@intel.com>
Wed, 27 Jul 2016 19:02:39 +0000 (12:02 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 18 Aug 2016 18:43:13 +0000 (11:43 -0700)
commitb7d2cd951f7147f979d9e82773246416dcef2e3e
tree7d9e8ed8b95e1588240b3f8abdd292db485cd505
parentd8ec98646483a9e1c0c9f511236ce8b933deed17
i40e: fix memory leak

When we allocate memory, we must free it. It's simple courtesy.

Change-ID: Id007294096fb53344f1a8b9a0f78eddf9853c5d6
Signed-off-by: Mitch Williams <mitch.a.williams@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_virtchnl_pf.c