aboutsummaryrefslogtreecommitdiffstats
path: root/net/caif/cfserl.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2011-09-20 21:21:59 +0000
committerDavid S. Miller <davem@davemloft.net>2011-10-03 13:45:49 -0400
commit5bb20ed863f8573ecd1956f0ebd2c3d36e6e0585 (patch)
tree45591d04c0dd9f8134c100bdfc86f96869059718 /net/caif/cfserl.c
parent64af1bac9b979ae1f2f052742fda06d65f497643 (diff)
downloadkernel_goldelico_gta04-5bb20ed863f8573ecd1956f0ebd2c3d36e6e0585.zip
kernel_goldelico_gta04-5bb20ed863f8573ecd1956f0ebd2c3d36e6e0585.tar.gz
kernel_goldelico_gta04-5bb20ed863f8573ecd1956f0ebd2c3d36e6e0585.tar.bz2
caif: add error handling for allocation
The allocation of "phyinfo" wasn't checked, and also the allocation wasn't freed on error paths. Sjur Brændeland pointed out as well that "phy_driver" should be freed on the error path too. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Sjur Brændeland <sjur.brandeland@stericsson.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/caif/cfserl.c')
0 files changed, 0 insertions, 0 deletions