示例#1
0
void CPLFinderClean()

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

    bFinderInitialized = FALSE;
}
void CPLFinderClean()

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

        pTLSData->bFinderInitialized = FALSE;
    }
}