mirror of
https://github.com/rkd77/elinks.git
synced 2025-05-18 00:48:57 -04:00
[sixel] Added debug allocations functions
This commit is contained in:
parent
32788537fc
commit
c88f3cb5cb
@ -1050,7 +1050,12 @@ el_sixel_get_image(char *data, int length, int *outlen)
|
||||
*outlen = 0;
|
||||
|
||||
#ifdef HAVE_MEMFD_CREATE
|
||||
#ifdef CONFIG_DEBUG
|
||||
init_allocator();
|
||||
status = sixel_encoder_new(&encoder, el_sixel_allocator);
|
||||
#else
|
||||
status = sixel_encoder_new(&encoder, NULL);
|
||||
#endif
|
||||
|
||||
if (SIXEL_FAILED(status)) {
|
||||
goto error;
|
||||
|
Loading…
x
Reference in New Issue
Block a user