[gnome-calendar] search-view: fix segfault



commit 81b178acff81c0d6854a26665a644e4bbb1ce1d5
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Wed Sep 28 21:04:51 2016 -0300

    search-view: fix segfault

 src/gcal-search-view.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/src/gcal-search-view.c b/src/gcal-search-view.c
index 2c3a3c8..4100a60 100644
--- a/src/gcal-search-view.c
+++ b/src/gcal-search-view.c
@@ -570,7 +570,6 @@ gcal_search_view_component_added (ECalDataModelSubscriber *subscriber,
                                   ECalComponent           *comp)
 {
   GcalSearchView *view;
-  ECalComponentDateTime dt;
 
   RowEventData *row_data;
   GcalEvent *event;
@@ -608,8 +607,6 @@ gcal_search_view_component_added (ECalDataModelSubscriber *subscriber,
   view->num_results++;
 
   update_view (GCAL_SEARCH_VIEW (subscriber));
-
-  e_cal_component_free_datetime (&dt);
 }
 
 static void


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