aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-add.c
diff options
context:
space:
mode:
authorDinghao Liu <[email protected]>2020-08-24 13:58:31 +0800
committerDavid S. Miller <[email protected]>2020-08-24 05:58:41 -0700
commit7ef1fc57301f3cef7201497aa27e89ccb91737fe (patch)
treece44405b99eacb60edbffb7bf4c2cddac60a07fd /lib/mpi/mpi-add.c
parent100e3345c6e719d2291e1efd5de311cc24bb9c0b (diff)
net: systemport: Fix memleak in bcm_sysport_probe
When devm_kcalloc() fails, dev should be freed just like what we've done in the subsequent error paths. Fixes: 7b78be48a8eb6 ("net: systemport: Dynamically allocate number of TX rings") Signed-off-by: Dinghao Liu <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions