3
0
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:
Marcel Holtmann 2018-10-16 17:59:53 +02:00
parent 36cedb1f46
commit f68ee5ac74

View File

@ -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);