aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_out.c
diff options
context:
space:
mode:
authorJohannes Berg <[email protected]>2012-05-16 22:49:49 +0200
committerJohn W. Linville <[email protected]>2012-05-25 11:12:41 -0400
commit75813bde1f671aaab3185a9438da7730d356cea6 (patch)
treeb5d6d8dd478065d860d9b13a731562460aa98550 /net/lapb/lapb_out.c
parentf4c37176ef555560a1d13bc4bf2cf3debd442f40 (diff)
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 <[email protected]> Reviewed-by: Guy Cohen <[email protected]> Reviewed-by: Emmanuel Grumbach <[email protected]> Signed-off-by: Johannes Berg <[email protected]> Signed-off-by: John W. Linville <[email protected]>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions