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: 03e1d93e0779 ("realtek: add driver support for routing offload")
Signed-off-by: Jan Hoffmann <jan@3e8.eu>
2023-02-13 12:14:16 +01:00
..
2023-02-04 02:35:03 +01:00
2023-02-04 02:35:03 +01:00
2023-02-03 12:50:15 +01:00
2023-02-04 02:35:03 +01:00
2023-02-12 18:07:31 +01:00
2023-02-11 23:39:30 +01:00
2023-02-07 18:29:34 +01:00
2023-02-04 02:35:03 +01:00
2023-02-09 03:03:50 +01:00
2023-02-04 02:35:03 +01:00
2023-02-13 11:48:55 +01:00
2023-02-09 03:03:47 +01:00
2023-02-09 03:03:51 +01:00
2023-02-11 23:39:30 +01:00
2023-02-09 03:03:51 +01:00
2023-02-08 00:19:54 +01:00
2023-02-04 02:35:03 +01:00
2023-02-11 21:42:06 +08:00
2023-02-07 21:24:37 +01:00
2023-02-04 02:35:03 +01:00
2023-01-30 11:13:14 +01:00
2023-02-04 02:35:03 +01:00
2023-02-04 02:35:03 +01:00
2023-01-28 19:58:20 +01:00
2023-02-12 18:27:45 +01:00
2023-02-13 12:14:16 +01:00
2023-02-04 02:35:03 +01:00
2023-02-04 02:35:03 +01:00
2023-02-04 02:35:03 +01:00
2023-02-03 14:05:37 +01:00
2023-01-30 18:01:14 +08:00