summaryrefslogtreecommitdiff
path: root/plugins/push-notification.c
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2011-02-02 13:24:04 -0600
committerDenis Kenzior <denkenz@gmail.com>2011-02-02 13:24:04 -0600
commit074f1ff51669f98b018154163f3575a6f2fc8171 (patch)
tree41c59cb9fae1349126313c26961aaf8855c01f82 /plugins/push-notification.c
parent16e3c0ffe42785e045bf4753a3ca1d7e1f52c01b (diff)
downloadofono-074f1ff51669f98b018154163f3575a6f2fc8171.tar.gz
push-notification: Fix the nulling of the agent
Same as the previous commit, but applies to push-notifications
Diffstat (limited to 'plugins/push-notification.c')
-rw-r--r--plugins/push-notification.c1
1 files changed, 1 insertions, 0 deletions
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);
}