summaryrefslogtreecommitdiffstats
path: root/src/syntax.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-03-07 20:10:55 +0000
committerDavid Robillard <d@drobilla.net>2011-03-07 20:10:55 +0000
commitf878de8597b639253e0a7c9de6d8349c34857806 (patch)
treee54e3f222807e63e56da883bded9ecc598a7d520 /src/syntax.c
parent5d1d788b442bf53e3910d69d8cad214df63b47f8 (diff)
downloadsord-f878de8597b639253e0a7c9de6d8349c34857806.tar.gz
sord-f878de8597b639253e0a7c9de6d8349c34857806.tar.bz2
sord-f878de8597b639253e0a7c9de6d8349c34857806.zip
Sane reference counting semantics.
git-svn-id: http://svn.drobilla.net/sord/trunk@51 3d64ff67-21c5-427c-a301-fe4f08042e5a
Diffstat (limited to 'src/syntax.c')
-rw-r--r--src/syntax.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/syntax.c b/src/syntax.c
index c5c0791..19cbec9 100644
--- a/src/syntax.c
+++ b/src/syntax.c
@@ -171,6 +171,10 @@ event_statement(void* handle,
}
sord_add(state->sord, tup);
+ sord_node_free(state->world, tup[0]);
+ sord_node_free(state->world, tup[1]);
+ sord_node_free(state->world, tup[2]);
+ sord_node_free(state->world, tup[3]);
return true;
}