[gnome-calendar/search-improvements] search-view: define detroy functions for hash table



commit 816a5db0d93b8e4ffa95d0e83b0ff69920bf7890
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Tue Jan 6 14:07:56 2015 -0200

    search-view: define detroy functions for hash table

 src/gcal-search-view.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gcal-search-view.c b/src/gcal-search-view.c
index 0b2e9df..e503926 100644
--- a/src/gcal-search-view.c
+++ b/src/gcal-search-view.c
@@ -298,7 +298,7 @@ gcal_search_view_init (GcalSearchView *self)
 
   priv = gcal_search_view_get_instance_private (self);
 
-  priv->events = g_hash_table_new (g_str_hash, g_str_equal);
+  priv->events = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, g_free);
   priv->date_mask = nl_langinfo (D_FMT);
   priv->time_mask = "%H:%M";
 


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