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
1 changed files with 2 additions and 0 deletions

View File

@ -142,6 +142,8 @@ int dbus_app_run(const struct dbus_app *app, void *user_data,
l_dbus_destroy(dbus);
dbus = NULL;
l_main_exit();
if (destroy)
destroy(info->user_data);