Пример #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;
    }
}