Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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