diff options
Diffstat (limited to 'engines/bladerunner/vqa_decoder.h')
-rw-r--r-- | engines/bladerunner/vqa_decoder.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/engines/bladerunner/vqa_decoder.h b/engines/bladerunner/vqa_decoder.h index 110ca704c5..ca7e067305 100644 --- a/engines/bladerunner/vqa_decoder.h +++ b/engines/bladerunner/vqa_decoder.h @@ -107,8 +107,12 @@ private: Loop *loops; LoopInfo() - : loopCount(0) + : loopCount(0), + loops(nullptr) {} + ~LoopInfo() { + delete[] loops; + } }; struct ClipInfo |