summaryrefslogtreecommitdiffstats
path: root/src/libs/module/global.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/module/global.cpp')
-rw-r--r--src/libs/module/global.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libs/module/global.cpp b/src/libs/module/global.cpp
index 6cd54685..21c36575 100644
--- a/src/libs/module/global.cpp
+++ b/src/libs/module/global.cpp
@@ -47,6 +47,7 @@ get_world()
world->rdf_world = new Redland::World();
#ifdef HAVE_SLV2
world->slv2_world = slv2_world_new_using_rdf_world(world->rdf_world->world());
+ world->lv2_features = new LV2Features();
slv2_world_load_all(world->slv2_world);
#endif
world->engine = NULL;
@@ -68,6 +69,7 @@ destroy_world()
if (world) {
#ifdef HAVE_SLV2
slv2_world_free(world->slv2_world);
+ delete world->lv2_features;
#endif
delete world->rdf_world;
delete world;