]> git.tue.mpg.de Git - paraslash.git/commit
i9e: Clear history on close.
authorAndre Noll <maan@tuebingen.mpg.de>
Wed, 14 Jun 2023 21:15:18 +0000 (23:15 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Sat, 31 Aug 2024 18:31:37 +0000 (20:31 +0200)
commitbcb7a09eacc8389f496e3365cfad0ad087c1f3cb
tree54f3845a0f79e2f6c24d9d5564fb42149f82e2c0
parent6f2967283dc8c3e8780a5ce53b087b37e2851973
i9e: Clear history on close.

This frees each history entry and the history itself, reducing the
amount of memory leaked by readline applications on exit. Normally,
this should not be used since it leaks the memory associated with the
user defined history data pointer of each entry. However, that's OK
here because the i9e subsystem ignores this feature of the history
library.
interactive.c