diff options
author | David Robillard <d@drobilla.net> | 2011-03-09 01:09:16 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-03-09 01:09:16 +0000 |
commit | 9040ad42f5260638d1a54bb6339c8f3658864044 (patch) | |
tree | 3d1b45555ced71c3b1c5ca6b6395abcfec60f836 | |
parent | 1f1840365aba026f7505076fa050c714ded907ad (diff) | |
download | sord-9040ad42f5260638d1a54bb6339c8f3658864044.tar.gz sord-9040ad42f5260638d1a54bb6339c8f3658864044.tar.bz2 sord-9040ad42f5260638d1a54bb6339c8f3658864044.zip |
We use fully braced blocks 'round these parts.
git-svn-id: http://svn.drobilla.net/sord/trunk@57 3d64ff67-21c5-427c-a301-fe4f08042e5a
-rw-r--r-- | sord/sordmm.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sord/sordmm.hpp b/sord/sordmm.hpp index 817ac08..a2c8d73 100644 --- a/sord/sordmm.hpp +++ b/sord/sordmm.hpp @@ -161,8 +161,9 @@ public: } const Node& operator=(const Node& other) { - if (_c_obj) + if (_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; |