diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2011-09-20 21:21:59 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-10-03 13:45:49 -0400 |
commit | 5bb20ed863f8573ecd1956f0ebd2c3d36e6e0585 (patch) | |
tree | 45591d04c0dd9f8134c100bdfc86f96869059718 /net/caif/Kconfig | |
parent | 64af1bac9b979ae1f2f052742fda06d65f497643 (diff) |
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/Kconfig')
0 files changed, 0 insertions, 0 deletions