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

Memory leak in AudioManager #94

Open
Vinno97 opened this issue Dec 5, 2018 · 0 comments
Open

Memory leak in AudioManager #94

Vinno97 opened this issue Dec 5, 2018 · 0 comments
Assignees

Comments

@Vinno97
Copy link
Owner

Vinno97 commented Dec 5, 2018

In de AudioManager worden wel sounds ingeladen, maar deze worden nooit verwijderd. Dit veroorzaakt een memory leak. In de deconstructor van de manager zullen deze opgeschoond moeten worden

Mix_Chunk *sound = Mix_LoadWAV(filepath.c_str());

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

No branches or pull requests

2 participants