[evolution-ews] Bug 748242 - Abort with invalid free()



commit 91bc2605b410c8f54709bd25a978cf97d937d7cd
Author: Fabiano Fidêncio <fidencio redhat com>
Date:   Tue Apr 21 14:19:03 2015 +0200

    Bug 748242 - Abort with invalid free()

 src/server/e-ews-notification.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/server/e-ews-notification.c b/src/server/e-ews-notification.c
index 7e3c808..4a2b4db 100644
--- a/src/server/e-ews-notification.c
+++ b/src/server/e-ews-notification.c
@@ -816,6 +816,7 @@ e_ews_notification_get_events_thread (gpointer user_data)
 
                        e_ews_notification_unsubscribe_folder_sync (td->notification, subscription_id);
                        g_free (subscription_id);
+                       subscription_id = NULL;
 
                        ret = e_ews_notification_subscribe_folder_sync (td->notification, td->folders, 
&subscription_id, td->cancellable);
                        if (ret) {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]