summaryrefslogtreecommitdiffstats
path: root/sord
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-03-09 01:07:21 +0000
committerDavid Robillard <d@drobilla.net>2011-03-09 01:07:21 +0000
commit1f1840365aba026f7505076fa050c714ded907ad (patch)
tree24e980d10cb0e47c2f639cee2428f2b7634195cf /sord
parent058d88970bafcb97754dbc73880e24cd019f9a06 (diff)
downloadsord-1f1840365aba026f7505076fa050c714ded907ad.tar.gz
sord-1f1840365aba026f7505076fa050c714ded907ad.tar.bz2
sord-1f1840365aba026f7505076fa050c714ded907ad.zip
Fix compilation (and hopefully inexplicable revision control craziness...)
git-svn-id: http://svn.drobilla.net/sord/trunk@56 3d64ff67-21c5-427c-a301-fe4f08042e5a
Diffstat (limited to 'sord')
-rw-r--r--sord/sordmm.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/sord/sordmm.hpp b/sord/sordmm.hpp
index 259e2c2..817ac08 100644
--- a/sord/sordmm.hpp
+++ b/sord/sordmm.hpp
@@ -162,7 +162,7 @@ public:
const Node& operator=(const Node& other) {
if (_c_obj)
- sord_node_free(_c_obj);
+ sord_node_free(_world->c_obj(), _c_obj);
_world = other._world;
_c_obj = other._c_obj ? sord_node_copy(other._c_obj) : NULL;
return *this;
@@ -280,7 +280,7 @@ inline
Node::~Node()
{
if (_world) {
- sord_node_free(_c_obj);
+ sord_node_free(_world->c_obj(), _c_obj);
}
}