mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-25 09:39:25 +01:00
wired: Fix memory leak when terminating application
This commit is contained in:
parent
36cedb1f46
commit
f68ee5ac74
@ -142,6 +142,8 @@ int dbus_app_run(const struct dbus_app *app, void *user_data,
|
|||||||
l_dbus_destroy(dbus);
|
l_dbus_destroy(dbus);
|
||||||
dbus = NULL;
|
dbus = NULL;
|
||||||
|
|
||||||
|
l_main_exit();
|
||||||
|
|
||||||
if (destroy)
|
if (destroy)
|
||||||
destroy(info->user_data);
|
destroy(info->user_data);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user