diff options
author | Jan Hoffmann <jan@3e8.eu> | 2023-02-08 22:53:32 +0100 |
---|---|---|
committer | Sander Vanheule <sander@svanheule.net> | 2023-02-13 12:14:16 +0100 |
commit | 65b2bcbf5f0037f24e3772b2c96de03230fdaaf7 (patch) | |
tree | 2f5ab120e1490dd2d1e964396bb70967471d4951 /package/boot/uboot-envtools/files | |
parent | 1352e5da8dd722be9fdb3c8f5d616a553d529831 (diff) | |
download | upstream-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/boot/uboot-envtools/files')
0 files changed, 0 insertions, 0 deletions