summaryrefslogtreecommitdiff
path: root/drivers/watchdog/it8712f_wdt.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2012-05-16 20:49:49 (GMT)
committerJohn W. Linville <linville@tuxdriver.com>2012-05-25 15:12:41 (GMT)
commit75813bde1f671aaab3185a9438da7730d356cea6 (patch)
treeb5d6d8dd478065d860d9b13a731562460aa98550 /drivers/watchdog/it8712f_wdt.c
parentf4c37176ef555560a1d13bc4bf2cf3debd442f40 (diff)
downloadlinux-fsl-qoriq-75813bde1f671aaab3185a9438da7730d356cea6.tar.xz
iwlwifi: fix memory leak if opmode fails to init
If drv->op_mode is NULL after trying to init the opmode, we go to the wrong label. Fix this, and clean up the code a bit. Reviewed-by: Gregory Greenman <gregory.greenman@intel.com> Reviewed-by: Guy Cohen <guy.cohen@intel.com> Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/watchdog/it8712f_wdt.c')
0 files changed, 0 insertions, 0 deletions