aboutsummaryrefslogtreecommitdiffstats
path: root/src/engine
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine')
-rw-r--r--src/engine/Loader.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/engine/Loader.cpp b/src/engine/Loader.cpp
index f38e210..a9d8fb2 100644
--- a/src/engine/Loader.cpp
+++ b/src/engine/Loader.cpp
@@ -73,7 +73,9 @@ Loader::load(const Glib::ustring& uri)
Created created;
Sord::Model model(_rdf_world, document_uri);
- model.load_file(document_uri);
+ SerdEnv* env = serd_env_new();
+ model.load_file(env, document_uri);
+ serd_env_free(env);
Sord::Node nil;