aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorJan Hoffmann <jan@3e8.eu>2023-02-08 22:53:32 +0100
committerSander Vanheule <sander@svanheule.net>2023-02-13 12:14:16 +0100
commit65b2bcbf5f0037f24e3772b2c96de03230fdaaf7 (patch)
tree2f5ab120e1490dd2d1e964396bb70967471d4951 /package
parent1352e5da8dd722be9fdb3c8f5d616a553d529831 (diff)
downloadupstream-65b2bcbf5f0037f24e3772b2c96de03230fdaaf7.tar.gz
upstream-65b2bcbf5f0037f24e3772b2c96de03230fdaaf7.tar.bz2
upstream-65b2bcbf5f0037f24e3772b2c96de03230fdaaf7.zip
realtek: fix memory leak in netevent handler
The net_event_work struct is allocated, but only freed in a single case. Move the allocation to the branch where it is actually needed, and free it after the work has been done. Fixes: 03e1d93e0779 ("realtek: add driver support for routing offload") Signed-off-by: Jan Hoffmann <jan@3e8.eu>
Diffstat (limited to 'package')
0 files changed, 0 insertions, 0 deletions