diff options
author | David Robillard <d@drobilla.net> | 2011-03-07 17:58:13 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-03-07 17:58:13 +0000 |
commit | 4fc63448070fbdef110356e71868e9c56d61d09a (patch) | |
tree | 596a4b899ac792af0e8c5f3459f7a7e78e9244a0 /src | |
parent | 8298adea47c3ac90ad43e92387404a7d9381f638 (diff) | |
download | sord-4fc63448070fbdef110356e71868e9c56d61d09a.tar.gz sord-4fc63448070fbdef110356e71868e9c56d61d09a.tar.bz2 sord-4fc63448070fbdef110356e71868e9c56d61d09a.zip |
Fix memory leak.
git-svn-id: http://svn.drobilla.net/sord/trunk@48 3d64ff67-21c5-427c-a301-fe4f08042e5a
Diffstat (limited to 'src')
-rw-r--r-- | src/syntax.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/syntax.c b/src/syntax.c index 939ddf1..eb57cb9 100644 --- a/src/syntax.c +++ b/src/syntax.c @@ -252,6 +252,7 @@ sord_read_file_handle(SordModel model, serd_reader_free(state.reader); serd_read_state_free(state.read_state); + serd_env_free(env); return success; } @@ -285,6 +286,7 @@ sord_read_string(SordModel model, serd_reader_free(state.reader); serd_read_state_free(state.read_state); + serd_env_free(env); return success; } |