summaryrefslogtreecommitdiff
path: root/scripts/checkpatch.pl
diff options
context:
space:
mode:
authorPankaj Bansal <[email protected]>2019-02-08 08:46:11 +0000
committerJoe Hershberger <[email protected]>2019-05-08 17:26:59 -0500
commit4b0880d66baa1b96c6293051a03af0ad1bee7cb0 (patch)
tree513f0a8f969838f41232c85d588d15c0c2a5a0b5 /scripts/checkpatch.pl
parentd47cfdbd315297af73746462599b0c81dac6054a (diff)
drivers: net: ldpaa_eth: fix resource leak
if an error occurs in ldpaa_eth_init, need to free all resources before returning the error. Threfore, free net_dev before returning from ldpaa_eth_init. Signed-off-by: Pankaj Bansal <[email protected]> Acked-by: Joe Hershberger <[email protected]>
Diffstat (limited to 'scripts/checkpatch.pl')
0 files changed, 0 insertions, 0 deletions