[PATCH] core: Remove value destroy_func from the plugins' hash table
- From: Simón Pena <spenap gmail com>
- To: grilo-list gnome org
- Subject: [PATCH] core: Remove value destroy_func from the plugins' hash table
- Date: Fri, 3 Sep 2010 19:10:17 +0200
Removing a GrlPluginDescriptor from the plugins' hash table was failing
when they were being freed.
---
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 =
--
1.7.0.4
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]