[gnome-calendar] window: remove faulty g_free()



commit 09262e875e9dbd2cd4ece94154d2eafe16c80c06
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Tue Dec 16 12:47:37 2014 -0200

    window: remove faulty g_free()
    
    Freeing uid variant results in bloody segfaults.

 src/gcal-window.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/src/gcal-window.c b/src/gcal-window.c
index a31d0fc..33864b2 100644
--- a/src/gcal-window.c
+++ b/src/gcal-window.c
@@ -742,12 +742,8 @@ remove_source (GcalManager *manager,
                 {
                   g_menu_remove (priv->calendar_menu, i);
                   source_found = TRUE;
-
-                  g_free (uid);
                   break;
                 }
-
-              g_free (uid);
             }
         }
 


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