Skip to content
New issue

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

Fix preference memory leaks #235

Merged
merged 1 commit into from
Nov 14, 2024
Merged

Conversation

zturtleman
Copy link
Contributor

This free strings loaded for preferences.

The play sound button in preferences leaked memory interactively (from gtk_file_chooser_get_filename()). The rest just failed to free at shutdown.

I didn't run it under Valgrind—there is surely more leaks—it's just something I found when working with file chooser (072c702).

@illwieckz
Copy link
Member

Thanks.

@illwieckz illwieckz merged commit f4b5aed into XQF:master Nov 14, 2024
2 checks passed
@zturtleman zturtleman deleted the prefs_memleak branch November 14, 2024 23:19
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.

2 participants