diff options
author | Hein-Pieter van Braam <hp@tmm.cx> | 2017-11-09 17:13:04 +0100 |
---|---|---|
committer | Hein-Pieter van Braam <hp@tmm.cx> | 2017-11-09 17:57:43 +0100 |
commit | 38ae49e5740eb213b892e59d0d66d71bc59eb316 (patch) | |
tree | ca0e49147b592a50e409b95aca9603bbfcb1e64a /servers/audio/SCsub | |
parent | 05fc741bdb45f4a48852eb5a9c3600783d81cf1f (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 'servers/audio/SCsub')
0 files changed, 0 insertions, 0 deletions