diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2015-05-10 00:27:28 +0200 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2015-05-10 00:27:41 +0200 |
commit | 1bbfcbe993e86ad3fbe9fa099afa2a38cdf270d9 (patch) | |
tree | 3a7d06ebba9185b4815c638b1b96c3d2c3833742 | |
parent | 7c9a1f50da19191209b7f908bc553c98dacb1e47 (diff) | |
download | xK-1bbfcbe993e86ad3fbe9fa099afa2a38cdf270d9.tar.gz xK-1bbfcbe993e86ad3fbe9fa099afa2a38cdf270d9.tar.xz xK-1bbfcbe993e86ad3fbe9fa099afa2a38cdf270d9.zip |
degesch: be a bit less leaky with readline
It spams valgrind.
-rw-r--r-- | degesch.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -119,7 +119,8 @@ static void input_buffer_destroy (struct input_buffer *self) { #ifdef HAVE_READLINE - // Can't really free "history" from here + // Can't really free "history" contents from here + free (self->history); #elif defined HAVE_EDITLINE history_wend (self->history); #endif // HAVE_EDITLINE |