Mercurial > hg > svcore
diff rdf/RDFImporter.cpp @ 542:1ddab154fb9a
* minor fix
author | Chris Cannam |
---|---|
date | Tue, 03 Feb 2009 11:12:19 +0000 |
parents | 3ccf48fb81d6 |
children | 1d7ebc05157e |
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