Exemple #1
0
static void CPLFindFileFreeTLS(void* pData)
{
    FindFileTLS* pTLSData = reinterpret_cast<FindFileTLS *>( pData );
    if( pTLSData != NULL && pTLSData->bFinderInitialized )
    {
        while( pTLSData->papszFinderLocations != NULL )
            CPLPopFinderLocationInternal(pTLSData);
        while( CPLPopFileFinderInternal(pTLSData) != NULL ) {}

        pTLSData->bFinderInitialized = FALSE;
    }
    CPLFree(pTLSData);
}
Exemple #2
0
static void CPLFindFileFreeTLS(void* pData)
{
    FindFileTLS* pTLSData = (FindFileTLS*) pData;
    if( pTLSData->bFinderInitialized )
    {
        while( pTLSData->papszFinderLocations != NULL )
            CPLPopFinderLocationInternal(pTLSData);
        while( CPLPopFileFinderInternal(pTLSData) != NULL ) {}

        pTLSData->bFinderInitialized = FALSE;
    }
    CPLFree(pTLSData);
}
Exemple #3
0
void CPLPopFinderLocation()
{
    CPLPopFinderLocationInternal(CPLFinderInit());
}