예제 #1
0
void CPLFinderClean()

{
    while( CPLPopFileFinder() != NULL ) {}
    while( papszFinderLocations != NULL )
        CPLPopFinderLocation();

    bFinderInitialized = FALSE;
}
예제 #2
0
void CPLFinderClean()

{
    FindFileTLS* pTLSData = CPLGetFindFileTLS();
    if( pTLSData->bFinderInitialized )
    {
        while( pTLSData->papszFinderLocations != NULL )
            CPLPopFinderLocation();
        while( CPLPopFileFinder() != NULL ) {}

        pTLSData->bFinderInitialized = FALSE;
    }
}