openwrt/target/linux/realtek/files-5.15/drivers
Jan Hoffmann 65b2bcbf5f 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: 03e1d93e07 ("realtek: add driver support for routing offload")
Signed-off-by: Jan Hoffmann <jan@3e8.eu>
2023-02-13 12:14:16 +01:00
..
clk/realtek realtek: Follow kernel comment style recommendation 2023-01-13 22:34:16 +01:00
clocksource realtek: timer: Fix cosmetic whitespace in comments 2023-01-28 17:31:12 +01:00
gpio realtek: Replace C++ style comments 2022-12-27 16:33:01 +01:00
i2c realtek: Reduce variable scopes 2022-12-27 16:33:15 +01:00
net realtek: fix memory leak in netevent handler 2023-02-13 12:14:16 +01:00