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
FT_Done_Library
impl Drop for Glyph
impl Drop for Face
doesn't it causes double free in the real program? e.g. i have a function to get some info from a glyph
fn get_glyph_info(face: Face) { let glyph = face.glyph().get_glyph().unwrap(); // do some calculation on glyph }
The text was updated successfully, but these errors were encountered:
Drive-by-comment: Isn't this reference counted? The call to FT_Done_Library in Glyph::drop:
Glyph::drop
freetype-rs/src/glyph.rs
Line 156 in 9115178
FT_Reference_Library
Glyph::from_raw
Line 15 in 9115178
Sorry, something went wrong.
No branches or pull requests
doesn't it causes double free in the real program?
e.g.
i have a function to get some info from a glyph
The text was updated successfully, but these errors were encountered: