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 #7590: decrement allocated_size in ScriptAllocator::Free() #7591

Merged
merged 3 commits into from May 15, 2019

Conversation

@glx22
Copy link
Contributor

@glx22 glx22 commented May 13, 2019

There are other issues to fix in relation to ScriptAllocator, but properly counting will already reduce the probability of apparition of these issues.

src/script/script_scanner.cpp Outdated Show resolved Hide resolved
@glx22 glx22 merged commit 09004f3 into OpenTTD:master May 15, 2019
8 checks passed
@glx22 glx22 deleted the fix7590 branch May 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants