Skip to content

Fix string leak#14

Open
perxjoh wants to merge 1 commit into
ebassi:masterfrom
perxjoh:master
Open

Fix string leak#14
perxjoh wants to merge 1 commit into
ebassi:masterfrom
perxjoh:master

Conversation

@perxjoh

@perxjoh perxjoh commented Jun 16, 2023

Copy link
Copy Markdown

All strings from tags are leaked since ll::taglib_tag_free_strings() is not called on drop. Can be reproduced in the existing unit tests.

CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUNNER="valgrind --leak-check=full" cargo test

All strings from tags are leaked since ll::taglib_tag_free_strings()
is not called on drop.
sigsmoore added a commit to sigsmoore/taglib-rust that referenced this pull request Feb 1, 2026
Replicate sheng's PR [ebassi#15](ebassi#15)

plus some modifications of my own to satisfy the compiler

plus Per Johansson's PR [ebassi#14](ebassi#14) to fix string leaks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant