diff options
author | Willem Jan Palenstijn | 2013-04-15 21:38:21 +0200 |
---|---|---|
committer | Willem Jan Palenstijn | 2013-04-15 21:38:21 +0200 |
commit | f5a6ad6ab925ec152590a1dbb51f204f116648a1 (patch) | |
tree | 3563f1d18e31b8814f69b182df051614c440b12e /engines/sci/engine | |
parent | 8d184cddf7b931907cbfdf475b0e664429a22a10 (diff) | |
download | scummvm-rg350-f5a6ad6ab925ec152590a1dbb51f204f116648a1.tar.gz scummvm-rg350-f5a6ad6ab925ec152590a1dbb51f204f116648a1.tar.bz2 scummvm-rg350-f5a6ad6ab925ec152590a1dbb51f204f116648a1.zip |
SCI: Fix memory leak
Diffstat (limited to 'engines/sci/engine')
-rw-r--r-- | engines/sci/engine/kpathing.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/sci/engine/kpathing.cpp b/engines/sci/engine/kpathing.cpp index b839ac51c3..64793efa6c 100644 --- a/engines/sci/engine/kpathing.cpp +++ b/engines/sci/engine/kpathing.cpp @@ -2388,6 +2388,8 @@ reg_t kMergePoly(EngineState *s, int argc, reg_t *argv) { debugN("\n"); #endif } + + delete polygon; } node = s->_segMan->lookupNode(node->succ); |