summaryrefslogtreecommitdiff
path: root/thunarx
diff options
context:
space:
mode:
authorNick Schermer <nick@xfce.org>2012-04-04 14:34:22 +0200
committerNick Schermer <nick@xfce.org>2012-04-04 14:34:22 +0200
commit2943a28a39795ea0a44d20137ee1b3b6b0f2744c (patch)
tree9afaf9d9e4f823993d73f53f23c63366acce9916 /thunarx
parent363940efb3cde8b0495b4719dc1fa7ff7d908b62 (diff)
downloadthunar-2943a28a39795ea0a44d20137ee1b3b6b0f2744c.tar.gz
Free module list in provider factory.
Diffstat (limited to 'thunarx')
-rw-r--r--thunarx/thunarx-provider-factory.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/thunarx/thunarx-provider-factory.c b/thunarx/thunarx-provider-factory.c
index f2588eb3..00905012 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;