From 074f1ff51669f98b018154163f3575a6f2fc8171 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Wed, 2 Feb 2011 13:24:04 -0600 Subject: [PATCH] push-notification: Fix the nulling of the agent Same as the previous commit, but applies to push-notifications --- plugins/push-notification.c | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/push-notification.c b/plugins/push-notification.c index 218bf8c3..8506c084 100644 --- a/plugins/push-notification.c +++ b/plugins/push-notification.c @@ -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); }