diff options
author | Loïc Guilloux <glx22@users.noreply.github.com> | 2021-10-02 15:13:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-02 15:13:58 +0200 |
commit | ccd586a736595c2af09c6f614c11a75b9b3da156 (patch) | |
tree | 53e76484dcf7690dc10c3a7cdc1a6df8c3f75e4e /src/autoreplace.cpp | |
parent | 78d66b77325ee7f6af0627ce88ca2e83a8048241 (diff) | |
download | openttd-ccd586a736595c2af09c6f614c11a75b9b3da156.tar.xz |
Fix #9588, 140a96b: [Squirrel] Reaching memory limit during script registration could prevent further script detections (#9589)
Also the memory allocation triggering the limit was never freed.
And if the exception was thrown in a constructor using placement new, the pre-allocated memory was not freed either.
Diffstat (limited to 'src/autoreplace.cpp')
0 files changed, 0 insertions, 0 deletions