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

NGI: Fix memory leak in PictureObject #3549

Merged

Conversation

@mparnaudeau
Copy link
Contributor

@mparnaudeau mparnaudeau commented Nov 17, 2021

The default destructor did not freed the picture data belonging
to the PictureObject instances, causing many memory leaks.

PR note: I controlled before and after with Valgrind.

The default destructor did not freed the picture data belonging
to the PictureObject instances, causing many memory leaks.
@bluegr
Copy link
Member

@bluegr bluegr commented Nov 17, 2021

Nice catch, thanks! Merging

Loading

@bluegr bluegr merged commit a10d723 into scummvm:master Nov 17, 2021
8 checks passed
Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants