diff src/plugins/push-notification/push-notification-plugin.c @ 19268:5f883bc3f380

push-notification: Free all events at plugin deinit.
author Timo Sirainen <tss@iki.fi>
date Thu, 01 Oct 2015 13:48:24 +0300
parents e309b27f02ea
children cb7b0ad2836a
line wrap: on
line diff
--- a/src/plugins/push-notification/push-notification-plugin.c	Thu Oct 01 13:45:17 2015 +0300
+++ b/src/plugins/push-notification/push-notification-plugin.c	Thu Oct 01 13:48:24 2015 +0300
@@ -348,6 +348,7 @@
     push_notification_driver_unregister(&push_notification_driver_dlog);
     push_notification_driver_unregister(&push_notification_driver_ox);
 
+    push_notification_event_unregister_rfc5423_events();
     mail_storage_hooks_remove(&push_notification_storage_hooks);
     notify_unregister(push_notification_ctx);
 }