diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2025-03-16 23:29:30 +0300 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2025-03-17 17:39:30 +0300 |
commit | cddc9bf83eb5cd2c69626b31ae7373342523b626 (patch) | |
tree | ec31133dd195914f2ffedf36717e436da2cf9c41 /NEWS | |
parent | 06e48c350c2aed0f14d8f5b4957959055354dfd4 (diff) | |
download | sciteco-cddc9bf83eb5cd2c69626b31ae7373342523b626.tar.gz |
free some global objects even in the error case, in order to appease Valgrind
* If building with --enable-debug, we should always free all heap objects, even
if they would be freed on program termination anway, so they
won't appear as "possibly lost" in Valgrind.
I had this missing if munged or evaled macro failed, which resulted in lots
of false positives when running the testsuite under Valgrind.
* Also fixes possible crashes due to reusing already set GError variables.
This could theoretically happen if a munged script terminates with ^C
and its "quit" ED-hook would also throw any error.
Diffstat (limited to 'NEWS')
0 files changed, 0 insertions, 0 deletions