View | Details | Raw Unified | Return to bug 259967 | Differences between
and this patch

Collapse All | Expand All

(-)src/core/providers/ogr/qgsogrproviderutils.cpp (-2 / +1 lines)
Lines 2311-2317 void QgsOgrProviderUtils::release( QgsOgrLayer *&layer Link Here
2311
}
2311
}
2312
2312
2313
2313
2314
void QgsOgrProviderUtils::releaseDataset( QgsOgrDataset *&ds )
2314
void QgsOgrProviderUtils::releaseDataset( QgsOgrDataset *ds )
2315
{
2315
{
2316
  if ( !ds )
2316
  if ( !ds )
2317
    return;
2317
    return;
Lines 2319-2325 void QgsOgrProviderUtils::releaseDataset( QgsOgrDatase Link Here
2319
  QMutexLocker locker( sGlobalMutex() );
2319
  QMutexLocker locker( sGlobalMutex() );
2320
  releaseInternal( ds->mIdent, ds->mDs, true );
2320
  releaseInternal( ds->mIdent, ds->mDs, true );
2321
  delete ds;
2321
  delete ds;
2322
  ds = nullptr;
2323
}
2322
}
2324
2323
2325
bool QgsOgrProviderUtils::canDriverShareSameDatasetAmongLayers( const QString &driverName )
2324
bool QgsOgrProviderUtils::canDriverShareSameDatasetAmongLayers( const QString &driverName )

Return to bug 259967