aboutsummaryrefslogtreecommitdiff
path: root/degesch.c
diff options
context:
space:
mode:
Diffstat (limited to 'degesch.c')
-rw-r--r--degesch.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/degesch.c b/degesch.c
index 7aa9649..fb94009 100644
--- a/degesch.c
+++ b/degesch.c
@@ -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