Re: [PATCH] core: Remove value =?UTF-8?Q?destroy=5Ffunc=20from=20?= =?UTF-8?Q?the=20plugins=27=20hash=20table?=
- From: Iago Toral <itoral igalia com>
- To: Simón Pena <spenap gmail com>
- Cc: grilo-list gnome org
- Subject: Re: [PATCH] core: Remove value destroy_func from the plugins' hash table
- Date: Mon, 06 Sep 2010 06:16:29 +0000
On Fri, 3 Sep 2010 19:10:17 +0200, Simón Pena <spenap gmail com>
wrote:
> 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 =
Pushed.
Iago
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]