fix: candidate page memory leak

This commit is contained in:
CismonX 2023-10-04 00:35:45 +08:00
parent de27608978
commit c115ce8b0f
Signed by: cismonx
GPG Key ID: 3094873E29A482FB
1 changed files with 1 additions and 0 deletions

View File

@ -181,6 +181,7 @@ first_candidates (
&current_page, &last_page);
}
free_page_list(ctx->current_page);
ctx->current_page = current_page;
ctx->last_page = last_page;
ctx->page_num = 1;