diff options
author | David Robillard <d@drobilla.net> | 2007-02-19 06:10:38 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-02-19 06:10:38 +0000 |
commit | 25d13653ede7fdda4f08cd1e57c73a3c186a7b50 (patch) | |
tree | 455bda6403b55b656a8b9b98bdd238ad04deaef7 /src/query.c | |
parent | d3d736deba06ca2ef655858ac22d8267c5cc6363 (diff) | |
download | lilv-25d13653ede7fdda4f08cd1e57c73a3c186a7b50.tar.gz lilv-25d13653ede7fdda4f08cd1e57c73a3c186a7b50.tar.bz2 lilv-25d13653ede7fdda4f08cd1e57c73a3c186a7b50.zip |
Fixed doap:license typo in lv2.ttl.
Added stronger plugin validation.
Plugged memory leaks.
Aded list filtering by arbitrary function pointer.
git-svn-id: http://svn.drobilla.net/lad/slv2@318 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/query.c')
-rw-r--r-- | src/query.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/query.c b/src/query.c index b671ac8..4d259f2 100644 --- a/src/query.c +++ b/src/query.c @@ -134,15 +134,18 @@ slv2_plugin_query(SLV2Plugin plugin, raptor_uri* file_uri = raptor_new_uri((const unsigned char*)file_uri_str); rasqal_query_add_data_graph(rq, file_uri, NULL, RASQAL_DATA_GRAPH_BACKGROUND); + raptor_free_uri(file_uri); } rasqal_query_results* results = rasqal_query_execute(rq); - assert(results); rasqal_free_query(rq); raptor_free_uri(base_uri); - // FIXME: results leaked? + free(header); + free(query_str); + + // FIXME: results leaked internally in places? return results; /* |