Open muetzenmann opened 2 years ago
By using valgrind, I found a memory leak in sixel_encoder_encode_bytes.
frame is allocated via sixel_frame_new, but never free'd.
To fix it, you can change line 1798 to
sixel_frame_t *frame = NULL;
and add
sixel_frame_unref(frame);
before the return statement.
By using valgrind, I found a memory leak in sixel_encoder_encode_bytes.
frame is allocated via sixel_frame_new, but never free'd.
To fix it, you can change line 1798 to
sixel_frame_t *frame = NULL;
and add
sixel_frame_unref(frame);
before the return statement.