summaryrefslogtreecommitdiffstats
path: root/src/history.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/history.c')
-rw-r--r--src/history.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/history.c b/src/history.c
index 5bdac39..8337bad 100644
--- a/src/history.c
+++ b/src/history.c
@@ -41,7 +41,7 @@ history_free(struct history *history)
inputln_free(UPCAST(ln, struct inputln));
list_free(&history->list, (link_free_func) inputln_free,
- LINK_OFFSET(struct inputln));
+ LINK_OFFSET(struct inputln, link));
history->input = NULL;
history->sel = NULL;