We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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 1750 to
sixel_frame_t *frame = NULL;
and add
sixel_frame_unref(frame);
before the return statement.
The text was updated successfully, but these errors were encountered:
Just found out, that the above change fixes the memory leak, when running with valgrind. But, without valgrind, I get a segmentation fault.
Therefore, I don't think, you should apply my change. At least test it thoroughly.
Sorry, something went wrong.
No branches or pull requests
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 1750 to
sixel_frame_t *frame = NULL;
and add
sixel_frame_unref(frame);
before the return statement.
The text was updated successfully, but these errors were encountered: