diff options
author | David Robillard <d@drobilla.net> | 2011-03-07 18:07:54 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-03-07 18:07:54 +0000 |
commit | 3e4fc1e4b1f4e65bd4c9f6c9e9a4c753c10232a6 (patch) | |
tree | 8b75cc9ec202193f1d677c4ee33341c413e8257e /src/syntax.c | |
parent | 4fc63448070fbdef110356e71868e9c56d61d09a (diff) | |
download | sord-3e4fc1e4b1f4e65bd4c9f6c9e9a4c753c10232a6.tar.gz sord-3e4fc1e4b1f4e65bd4c9f6c9e9a4c753c10232a6.tar.bz2 sord-3e4fc1e4b1f4e65bd4c9f6c9e9a4c753c10232a6.zip |
Fix memory leak.
git-svn-id: http://svn.drobilla.net/sord/trunk@49 3d64ff67-21c5-427c-a301-fe4f08042e5a
Diffstat (limited to 'src/syntax.c')
-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 eb57cb9..c5c0791 100644 --- a/src/syntax.c +++ b/src/syntax.c @@ -253,6 +253,7 @@ sord_read_file_handle(SordModel model, serd_reader_free(state.reader); serd_read_state_free(state.read_state); serd_env_free(env); + free(base_uri_str); return success; } @@ -287,6 +288,7 @@ sord_read_string(SordModel model, serd_reader_free(state.reader); serd_read_state_free(state.read_state); serd_env_free(env); + free(base_uri_str); return success; } |