diff options
-rw-r--r-- | NEWS | 3 | ||||
-rw-r--r-- | src/sordi.c | 1 | ||||
-rw-r--r-- | wscript | 6 |
3 files changed, 6 insertions, 4 deletions
@@ -4,12 +4,13 @@ sord (0.13.0) unstable; * Add sord_erase() for erasing statements via an iterator * Fix bugs with stores that contain both graphs and default graph statements * Fix compilation on compilers that do not support -pthread flag + * Fix minor memory leak in sordi * sord_validate: More extensive validation, including cardinality, PlainLiteral, and someValuesFrom restrictions. * This release does not break the ABI, but the semantics of iterators has changed: any modification to a model invalidates iterators on that model - -- David Robillard <d@drobilla.net> Thu, 19 Feb 2015 23:18:02 -0500 + -- David Robillard <d@drobilla.net> Thu, 10 Sep 2015 11:46:40 -0400 sord (0.12.2) stable; diff --git a/src/sordi.c b/src/sordi.c index 891e3e7..6ec5faf 100644 --- a/src/sordi.c +++ b/src/sordi.c @@ -163,6 +163,7 @@ main(int argc, char** argv) base_uri_node = serd_node_new_file_uri(in_path, NULL, &base_uri, false); } + free(in_path); if (!base_uri_node.buf) { fprintf(stderr, "Missing base URI\n"); return 1; @@ -44,7 +44,7 @@ def configure(conf): except: Logs.warn("No C++ compiler, sordmm.hpp compile test skipped") pass - + autowaf.configure(conf) autowaf.set_c99_mode(conf) autowaf.display_header('Sord configuration') @@ -129,7 +129,7 @@ def build(bld): defines = defines + ['SORD_SHARED', 'SORD_INTERNAL'], cflags = libflags) autowaf.use_lib(bld, obj, 'SERD') - + # Static Library if bld.env.BUILD_STATIC: obj = bld(features = 'c cstlib', @@ -209,7 +209,7 @@ def build(bld): source = 'src/%s.c' % i, includes = ['.', './src'], use = 'libsord', - lib = libs, + lib = libs, target = i, install_path = '${BINDIR}', defines = defines) |