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 memory leak when switching from a 32bpp-anim blitter #6404

Closed
DorpsGek opened this issue Dec 18, 2015 · 1 comment
Closed

Fix memory leak when switching from a 32bpp-anim blitter #6404

DorpsGek opened this issue Dec 18, 2015 · 1 comment
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

JGR opened the ticket and wrote:

When switching from one of the 32bpp-anim blitters to a different blitter, (e.g. whenever the "Full animation" setting is unticked), the animation buffer (Blitter_32bppAnim::anim_buf) is leaked.

The attached patch frees the buffer in Blitter_32bppAnim's destructor.

Attachments

Reported version: trunk
Operating system: All


This issue was imported from FlySpray: https://bugs.openttd.org/task/6404
@DorpsGek
Copy link
Member Author

frosch closed the ticket.

Reason for closing: Fixed

in r27575. Thanks for the patch! Again


This comment was imported from FlySpray: https://bugs.openttd.org/task/6404

@DorpsGek DorpsGek added Core flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) labels Apr 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)
Projects
None yet
Development

No branches or pull requests

1 participant