Skip to content

Commit 6a2d772

Browse files
author
jef
committed
apply #1700
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@10808 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 052077c commit 6a2d772

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/ogr/qgsnewogrconnection.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,8 @@ void QgsNewOgrConnection::testConnection()
8989
else
9090
{
9191
QMessageBox::information( this, tr( "Test connection" ), tr( "Connection to %1 was successful" ).arg( uri ) );
92+
OGRReleaseDataSource( poDS );
9293
}
93-
OGRReleaseDataSource( poDS );
9494
}
9595

9696
void QgsNewOgrConnection::saveConnection()

0 commit comments

Comments
 (0)