Remove data source entries from cache table when the data source is destroyed
git-svn-id: svn://10.0.0.236/trunk@8665 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
cded20b7b6
commit
fbb1f40d77
@ -221,7 +221,8 @@ RDF_ReleaseDataSource(RDF rdf, RDFT dataSource)
|
||||
rdf->numTranslators--;
|
||||
dataSource->rdf = deleteFromRDFList(dataSource->rdf, rdf);
|
||||
if ((dataSource->rdf == NULL) && (dataSource->destroy != NULL)) {
|
||||
(*dataSource->destroy)(dataSource);
|
||||
PL_HashTableRemove(dataSourceHash, dataSource->url);
|
||||
(*dataSource->destroy)(dataSource); (*dataSource->destroy)(dataSource);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user