Please sign in to comment.
msOGRWriteFromQuery(): use OSRRelease() instead of OSRDestroySpatialR…
…eference() The CreateLayer() implementation of some OGR drivers might potentially only increase the reference counter on the passed SRS instead of doing a full clone. Consequently using OSRDestroySpatialReference() is not appropriate, as it will destroy the SRS even if it is referenced by the OGR layer.
- Loading branch information...