1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

[sixel] Reuse allocator

This commit is contained in:
Witold Filipczyk 2023-05-26 18:51:37 +02:00
parent c1b2b60f7c
commit 721d7795cf

View File

@ -921,7 +921,7 @@ copy_frame(struct image *src, int box_width, int box_height, int cell_width, int
if (SIXEL_FAILED(status)) {
goto end;
}
status = sixel_encoder_new(&encoder, NULL);
status = sixel_encoder_new(&encoder, decoder->allocator);
if (SIXEL_FAILED(status)) {
goto end;