diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/library.c | 4 | ||||
-rw-r--r-- | src/plugin.c | 3 |
2 files changed, 3 insertions, 4 deletions
diff --git a/src/library.c b/src/library.c index 45f298c..4ad97c3 100644 --- a/src/library.c +++ b/src/library.c @@ -36,9 +36,9 @@ slv2_init() void slv2_finish() { - rasqal_finish(); - raptor_free_uri(slv2_ontology_uri); slv2_ontology_uri = NULL; + + rasqal_finish(); } diff --git a/src/plugin.c b/src/plugin.c index 64452bb..8441aec 100644 --- a/src/plugin.c +++ b/src/plugin.c @@ -126,11 +126,10 @@ slv2_plugin_verify(SLV2Plugin plugin) rasqal_query_results_next(results); } - free(query_str); rasqal_free_query_results(results); if ( ! (has_type && has_name && has_license && has_port) ) { - fprintf(stderr, "Invalid LV2 Plugin %s:\n", slv2_plugin_get_uri(plugin)); + fprintf(stderr, "Invalid LV2 Plugin %s\n", slv2_plugin_get_uri(plugin)); return false; } else { return true; |