From 3e4fc1e4b1f4e65bd4c9f6c9e9a4c753c10232a6 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 7 Mar 2011 18:07:54 +0000 Subject: Fix memory leak. git-svn-id: http://svn.drobilla.net/sord/trunk@49 3d64ff67-21c5-427c-a301-fe4f08042e5a --- src/syntax.c | 2 ++ 1 file changed, 2 insertions(+) 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; } -- cgit v1.2.1