summaryrefslogtreecommitdiffstats
path: root/drivers/char/misc.c
diff options
context:
space:
mode:
authorEytan Lifshitz <eytan.lifshitz@intel.com>2013-12-18 23:05:06 +0200
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>2013-12-31 19:03:43 +0200
commita4a1247847ca9ae2fd96e0684a74acd551791000 (patch)
treecc38d0e31242a3bdea3318b1f57bfac6623e0dce /drivers/char/misc.c
parent3dd94794a9fb39c28eb60760ec90731144149ace (diff)
downloadblackbird-op-linux-a4a1247847ca9ae2fd96e0684a74acd551791000.tar.gz
blackbird-op-linux-a4a1247847ca9ae2fd96e0684a74acd551791000.zip
iwlwifi: mvm: fix possible memory leak
In case of invalid section_id, the function returns after it aleready allocated memory. Fixed by change the order of actions. Signed-off-by: Eytan Lifshitz <eytan.lifshitz@intel.com> Reviewed-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Diffstat (limited to 'drivers/char/misc.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud