diff options
author | David Robillard <d@drobilla.net> | 2009-10-16 15:56:12 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-10-16 15:56:12 +0000 |
commit | d066490a1ee302059731d3884dbbe2bae9d7173a (patch) | |
tree | 17112153ece506f817914e4474f44fc741642d3a /src/gc.cpp | |
parent | b0a5e24bb43e06fe99e9c4d6cddebce08c379af7 (diff) | |
download | resp-d066490a1ee302059731d3884dbbe2bae9d7173a.tar.gz resp-d066490a1ee302059731d3884dbbe2bae9d7173a.tar.bz2 resp-d066490a1ee302059731d3884dbbe2bae9d7173a.zip |
Fix memory leaks.
git-svn-id: http://svn.drobilla.net/resp/tuplr@243 ad02d1e2-f140-0410-9f75-f8b11f17cedd
Diffstat (limited to 'src/gc.cpp')
-rw-r--r-- | src/gc.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -79,6 +79,7 @@ GC::collect(const Roots& roots) if ((*i)->marked()) { (*i)->mark(false); + assert(!(*i)->marked()); } else { if ((*i)->tag() == Object::AST) ((AST*)*i)->~AST(); |