summaryrefslogtreecommitdiff
path: root/src/newgrf.cpp
diff options
context:
space:
mode:
authorLoïc Guilloux <glx22@users.noreply.github.com>2021-10-02 15:13:58 +0200
committerGitHub <noreply@github.com>2021-10-02 15:13:58 +0200
commitccd586a736595c2af09c6f614c11a75b9b3da156 (patch)
tree53e76484dcf7690dc10c3a7cdc1a6df8c3f75e4e /src/newgrf.cpp
parent78d66b77325ee7f6af0627ce88ca2e83a8048241 (diff)
downloadopenttd-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/newgrf.cpp')
0 files changed, 0 insertions, 0 deletions