[grilo] core: Remove value destroy_func from the plugins' hash table



commit 44391196d7fc9506bce9aecdb9394203a98359e7
Author: Simón Pena <spenap gmail com>
Date:   Fri Sep 3 19:10:17 2010 +0200

    core: Remove value destroy_func from the plugins' hash table
    
    Removing a GrlPluginDescriptor from the plugins' hash table fails
    when plugins are shutdown.
    
    Signed-off-by: Iago Toral Quiroga <itoral igalia com>

 src/grl-plugin-registry.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/grl-plugin-registry.c b/src/grl-plugin-registry.c
index 777692a..46c7613 100644
--- a/src/grl-plugin-registry.c
+++ b/src/grl-plugin-registry.c
@@ -125,7 +125,7 @@ grl_plugin_registry_init (GrlPluginRegistry *registry)
   registry->priv->configs =
     g_hash_table_new_full (g_str_hash, g_str_equal, NULL, g_object_unref);
   registry->priv->plugins =
-    g_hash_table_new_full (g_str_hash, g_str_equal, NULL, g_free);
+    g_hash_table_new_full (g_str_hash, g_str_equal, NULL, NULL);
   registry->priv->sources =
     g_hash_table_new_full (g_str_hash, g_str_equal, g_free, NULL);
   registry->priv->system_keys =



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