Ticket #16 (closed defect: fixed)
Memory leaks in the German and Spanish datum transformations
| Reported by: | NormOlsen | Owned by: | hugueswski |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | Library | Version: | |
| Keywords: | Cc: |
Description (last modified by NormOlsen) (diff)
The new Spanish (i.e. ED50 to Etrf89) datum transformation and the new German (DhDnToEtrf?89) datum transformation leak memory. The close function releases, as it should, but then goes on to set the allocated pointer to NULL without freeing the main structure.
In correcting this issue, found that the memeory leak extended to the Australian and New Zealand datum conversions as well. Also corrected a memory leak in the console test program which isused to detect memory leaks (now that this feature has been fixed in the consoletest program).
Change History
Note: See
TracTickets for help on using
tickets.