iwlwifi: don't double free a pointer if no FW was found
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Wed, 3 Dec 2014 06:25:44 +0000 (08:25 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Sun, 14 Dec 2014 08:20:30 +0000 (10:20 +0200)
In the very unlikely case in which no firmware could be,
found. the same pointer was freed twice. Fix that.

Fixes: 490fefebb6db ("iwlwifi: define the .ucode file format for debug")
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>

No differences found