]> Git Repo - u-boot.git/commit
net: dwc_eth_qos: fix double resource leak in eqos_remove()
authorRasmus Villemoes <[email protected]>
Wed, 11 May 2022 14:12:50 +0000 (16:12 +0200)
committerTom Rini <[email protected]>
Mon, 8 Aug 2022 14:50:20 +0000 (10:50 -0400)
commit4a7c9dbf9a42330970a9742c1d476f2a9075f3f9
treebc79d53ce2082a161964f15a503b594e2ba677b6
parentecd8b0371386eb0b1826f5d067a3086ad5184a85
net: dwc_eth_qos: fix double resource leak in eqos_remove()

Not only does eqos_remove() fail to free the buffers that have been
allocated by eqos_probe_resources_core(), it repeats those allocations
and thus drops twice as much memory on the floor.

Signed-off-by: Rasmus Villemoes <[email protected]>
Reviewed-by: Ramon Fried <[email protected]>
drivers/net/dwc_eth_qos.c
This page took 0.036149 seconds and 4 git commands to generate.