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:
parent
c1b2b60f7c
commit
721d7795cf
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user