Fix ticket #118 "MemoryLeak: The fallback transformation setup by grid-file based geodetic transformations isn't being released"
Fix ticket #118 "MemoryLeak: The fallback transformation setup by grid-file based geodetic transformations isn't being released"

The fallback transformation, if specified, for grid-file based transformation wasn't released during CSgridiD().

Added a call to [cs_GxXform_::destroy()] for the transformation object if one had been setup in [CSgridiS()]. There, the transformation pointer is returned by [CS_gxloc].

Ran unit tests A and 4. Verified, that memory leaks are reported without this change and no more leaks with the fix.

Changes reviewed by Hugues.

git-svn-id: a2bff39a7848988ed2ca894f77eecdfa44a5cc3b@2178 4e78687f-474d-0410-85f9-8d5e500ac6b2

normanb/CS-Map,normanb/CS-Map