diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/engine/Loader.cpp | 4 |
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; |