summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorHein-Pieter van Braam <hp@tmm.cx>2017-11-09 17:13:04 +0100
committerHein-Pieter van Braam <hp@tmm.cx>2017-11-09 17:57:43 +0100
commit38ae49e5740eb213b892e59d0d66d71bc59eb316 (patch)
treeca0e49147b592a50e409b95aca9603bbfcb1e64a /platform
parent05fc741bdb45f4a48852eb5a9c3600783d81cf1f (diff)
Make sure we don't leak when an opcode is followed by itself
When compiling with GCC it is now possible for an opcode followed by itself to never leave the scope it is currently in. This leads to a situation where the dtor of a scope local variable isn't called which in turn can lead to a memory leak. By moving the goto outside of the scope of each opcode we guarantee that all dtors have been called before the next opcode gets dispatched. this fixes #12401
Diffstat (limited to 'platform')
0 files changed, 0 insertions, 0 deletions