mirror of git://git.sysmocom.de/ofono
push-notification: Fix the nulling of the agent
Same as the previous commit, but applies to push-notifications
This commit is contained in:
parent
16e3c0ffe4
commit
074f1ff516
|
@ -146,6 +146,7 @@ static DBusMessage *push_notification_unregister_agent(DBusConnection *conn,
|
|||
return __ofono_error_failed(msg);
|
||||
|
||||
sms_agent_free(pn->agent);
|
||||
pn->agent = NULL;
|
||||
|
||||
return dbus_message_new_method_return(msg);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue