[Xfce4-commits] <thunar:master> Free module list in provider factory.

Nick Schermer noreply at xfce.org
Wed Apr 4 14:50:01 CEST 2012


Updating branch refs/heads/master
         to 2943a28a39795ea0a44d20137ee1b3b6b0f2744c (commit)
       from 363940efb3cde8b0495b4719dc1fa7ff7d908b62 (commit)

commit 2943a28a39795ea0a44d20137ee1b3b6b0f2744c
Author: Nick Schermer <nick at xfce.org>
Date:   Wed Apr 4 14:34:22 2012 +0200

    Free module list in provider factory.

 thunarx/thunarx-provider-factory.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/thunarx/thunarx-provider-factory.c b/thunarx/thunarx-provider-factory.c
index f2588eb..0090501 100644
--- a/thunarx/thunarx-provider-factory.c
+++ b/thunarx/thunarx-provider-factory.c
@@ -331,6 +331,8 @@ thunarx_provider_factory_list_providers (ThunarxProviderFactory *factory,
       for (lp = modules; lp != NULL; lp = lp->next)
         if (!thunarx_provider_plugin_get_resident (lp->data))
           g_type_module_unuse (G_TYPE_MODULE (lp->data));
+
+      g_list_free (modules);
     }
 
   return providers;


More information about the Xfce4-commits mailing list