summaryrefslogtreecommitdiffstats
path: root/sord/sordmm.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'sord/sordmm.hpp')
-rw-r--r--sord/sordmm.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/sord/sordmm.hpp b/sord/sordmm.hpp
index 69796ae..042a005 100644
--- a/sord/sordmm.hpp
+++ b/sord/sordmm.hpp
@@ -64,6 +64,7 @@ protected:
class Namespaces : public Wrapper<SerdEnv*> {
public:
Namespaces() : Wrapper<SerdEnv*>(serd_env_new(NULL)) {}
+ ~Namespaces() { serd_env_free(_c_obj); }
static inline SerdNode string_to_node(SerdType type, const std::string& s) {
SerdNode ret = {