Skip to content

Conversation

@PaulWessel
Copy link
Member

The --version and --show-datadir options could be given to modules (e.g., gmt psxy --version), but the price we paid was a memory leak and a call to exit. Since the gmt driver can return those parameters, as can the API, we remove these offensive lines.

The --version and --show-datadir could be given to modules, but the price we paid was a memory leak and a call to exit.  Since the gmt driver can return those parameters, as can the API, we remove these offensive lines.
@PaulWessel PaulWessel added bug Something isn't working backport 6.1 Backport this PR to 6.1 branch labels Aug 28, 2020
@PaulWessel PaulWessel requested review from joa-quim and seisman August 28, 2020 06:57
@PaulWessel PaulWessel self-assigned this Aug 28, 2020
@joa-quim joa-quim merged commit 511eae6 into master Aug 28, 2020
@joa-quim joa-quim deleted the no-exit-mem-leak branch August 28, 2020 12:32
github-actions bot pushed a commit that referenced this pull request Aug 28, 2020
The --version and --show-datadir could be given to modules, but the price we paid was a memory leak and a call to exit.  Since the gmt driver can return those parameters, as can the API, we remove these offensive lines.
joa-quim pushed a commit that referenced this pull request Aug 28, 2020
The --version and --show-datadir could be given to modules, but the price we paid was a memory leak and a call to exit.  Since the gmt driver can return those parameters, as can the API, we remove these offensive lines.

Co-authored-by: Paul Wessel <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport 6.1 Backport this PR to 6.1 branch bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants