Skip to content

Commit 6a2d772

Browse files

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/app/ogr/qgsnewogrconnection.cpp

Lines changed: 1 addition & 1 deletion
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)
Please sign in to comment.