summaryrefslogtreecommitdiffstats
path: root/src/pluginlist.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pluginlist.c')
-rw-r--r--src/pluginlist.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/pluginlist.c b/src/pluginlist.c
index 50bb2ad..d4cd058 100644
--- a/src/pluginlist.c
+++ b/src/pluginlist.c
@@ -36,14 +36,16 @@
SLV2Plugins
slv2_plugins_new()
{
- return raptor_new_sequence((void (*)(void*))&slv2_plugin_free, NULL);
+ //return raptor_new_sequence((void (*)(void*))&slv2_plugin_free, NULL);
+ return raptor_new_sequence(NULL, NULL);
}
void
-slv2_plugins_free(SLV2Plugins list)
+slv2_plugins_free(SLV2World world, SLV2Plugins list)
{
- raptor_free_sequence(list);
+ if (list != world->plugins)
+ raptor_free_sequence(list);
}
#if 0