From 5ea6caf8ec6e06b71f14e4a8ac33b29ada7a1518 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 24 Sep 2011 02:54:40 +0000 Subject: Fix memory leak git-svn-id: http://svn.drobilla.net/sord/trunk@161 3d64ff67-21c5-427c-a301-fe4f08042e5a --- sord/sordmm.hpp | 1 + 1 file changed, 1 insertion(+) 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 { public: Namespaces() : Wrapper(serd_env_new(NULL)) {} + ~Namespaces() { serd_env_free(_c_obj); } static inline SerdNode string_to_node(SerdType type, const std::string& s) { SerdNode ret = { -- cgit v1.2.1