diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2025-05-03 11:33:01 +0300 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2025-05-03 11:33:01 +0300 |
commit | 850000492cd43e40109b3a11c8613b5fff577755 (patch) | |
tree | 0297fff124fbdf18a5cb125d0391561129ce46ef /src/spawn.c | |
parent | e15ffff6b808d2b60c08f2a4401ff35a3dc37bb7 (diff) | |
download | sciteco-850000492cd43e40109b3a11c8613b5fff577755.tar.gz |
fixed teco_doc_undo_exchange(): use reference counting now
* When popping from the Q-Register stack to local Q-Registers in macro calls,
problems would arise when rubbing out that macro call since we would eventually restore
a pointer that has been permanently freed along with the local Q-Registers.
* Naturally this could result in everything from Valgrind warnings to crashes.
* Added test case.
* There is still a test case that fails when run under `--valgrind`,
but it's apparently due to a glib-internal memory leak.
Diffstat (limited to 'src/spawn.c')
0 files changed, 0 insertions, 0 deletions