Skip to content

Commit

Permalink
Fix crash when creating new rasters
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Oct 25, 2017
1 parent 63e6cda commit 052688c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/providers/gdal/qgsgdalprovider.cpp
Expand Up @@ -2739,6 +2739,7 @@ QGISEXTERN QgsGdalProvider *create(

GDALSetGeoTransform( dataset.get(), geoTransform );
GDALSetProjection( dataset.get(), crs.toWkt().toLocal8Bit().data() );
dataset.reset();

return new QgsGdalProvider( uri, true );
}
Expand Down

0 comments on commit 052688c

Please sign in to comment.