[Gdal-dev] OCI connection close !!!

Ibrahim HIDIR hipoxi at gmail.com
Thu Aug 18 10:19:23 EDT 2005


hi again, i think i solved connection problem, i justt add 

-------------------------------------
OGROCIDataSource::~OGROCIDataSource()

{
    int         i;

    CPLFree( pszName );
    CPLFree( pszDBName );

    for( i = 0; i < nLayers; i++ )
        delete papoLayers[i];
    
    CPLFree( papoLayers );

    for( i = 0; i < nKnownSRID; i++ )
    {
        delete papoSRS[i];
    }
    CPLFree( papoSRS );
    CPLFree( panSRID );
    
    delete poSession;   /*  new line  */
}
-------------------------------------

in ogrocidatasource.cpp  file, when i destroy the connection it ends
the session :)




More information about the Gdal-dev mailing list