From c115ce8b0f6ecb399328a97ab65e213bba7a951e Mon Sep 17 00:00:00 2001 From: CismonX Date: Wed, 4 Oct 2023 00:35:45 +0800 Subject: [PATCH] fix: candidate page memory leak --- src/arif.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/arif.c b/src/arif.c index f99db29..48a3cca 100644 --- a/src/arif.c +++ b/src/arif.c @@ -181,6 +181,7 @@ first_candidates ( ¤t_page, &last_page); } + free_page_list(ctx->current_page); ctx->current_page = current_page; ctx->last_page = last_page; ctx->page_num = 1;