summaryrefslogtreecommitdiffstats
path: root/.get_maintainer.ignore
diff options
context:
space:
mode:
authorWenwen Wang2019-08-14 20:03:38 +0200
committerDavid S. Miller2019-08-18 22:01:54 +0200
commit1eca92eef18719027d394bf1a2d276f43e7cf886 (patch)
tree6f73e6f38e3746cb8b3a70f6d98c78f4d097ac65 /.get_maintainer.ignore
parentbnx2x: Fix VF's VLAN reconfiguration in reload. (diff)
downloadkernel-qcow2-linux-1eca92eef18719027d394bf1a2d276f43e7cf886.tar.gz
kernel-qcow2-linux-1eca92eef18719027d394bf1a2d276f43e7cf886.tar.xz
kernel-qcow2-linux-1eca92eef18719027d394bf1a2d276f43e7cf886.zip
cx82310_eth: fix a memory leak bug
In cx82310_bind(), 'dev->partial_data' is allocated through kmalloc(). Then, the execution waits for the firmware to become ready. If the firmware is not ready in time, the execution is terminated. However, the allocated 'dev->partial_data' is not deallocated on this path, leading to a memory leak bug. To fix this issue, free 'dev->partial_data' before returning the error. Signed-off-by: Wenwen Wang <wenwen@cs.uga.edu> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '.get_maintainer.ignore')
0 files changed, 0 insertions, 0 deletions