summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--editors/sed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/sed.c b/editors/sed.c
index 39b28d0..a17d1e5 100644
--- a/editors/sed.c
+++ b/editors/sed.c
@@ -134,7 +134,7 @@ void sed_free_and_close_stuff(void)
{
sed_cmd_t *sed_cmd = bbg.sed_cmd_head.next;
- llist_free_contents(bbg.append_head);
+ llist_free(bbg.append_head, free);
while (sed_cmd) {
sed_cmd_t *sed_cmd_next = sed_cmd->next;