3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-21 20:12:37 +01:00

agent: Fix bug in UnregisterAgent

This commit is contained in:
Denis Kenzior 2016-05-06 12:39:35 -05:00
parent 1c9550aeb1
commit aa7f88a78c

View File

@ -373,7 +373,7 @@ static struct l_dbus_message *agent_unregister(struct l_dbus *dbus,
sender = l_dbus_message_get_sender(message); sender = l_dbus_message_get_sender(message);
if (!strcmp(default_agent->owner, sender)) if (strcmp(default_agent->owner, sender))
return dbus_error_not_found(message); return dbus_error_not_found(message);
agent_free(default_agent); agent_free(default_agent);