Mercurial > hg > svcore
changeset 542:1ddab154fb9a
* minor fix
author | Chris Cannam |
---|---|
date | Tue, 03 Feb 2009 11:12:19 +0000 |
parents | 57f3eec55957 |
children | 7a66b94ef1c0 |
files | rdf/RDFImporter.cpp |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/rdf/RDFImporter.cpp Mon Feb 02 17:07:47 2009 +0000 +++ b/rdf/RDFImporter.cpp Tue Feb 03 11:12:19 2009 +0000 @@ -938,6 +938,7 @@ SimpleSPARQLQuery::ResultList r = q.execute(); if (!q.isOK()) { + SimpleSPARQLQuery::closeSingleSource(url); return NotRDF; } @@ -986,6 +987,8 @@ } } + SimpleSPARQLQuery::closeSingleSource(url); + if (haveAudio) { if (haveAnnotations) { return AudioRefAndAnnotations; @@ -1000,7 +1003,7 @@ } } - SimpleSPARQLQuery::closeSingleSource(url); + return OtherRDFDocument; } void