diff options
author | Max Horn | 2003-09-30 23:43:59 +0000 |
---|---|---|
committer | Max Horn | 2003-09-30 23:43:59 +0000 |
commit | 7c04dc7a86d15795ad55f24b13345b739ee18428 (patch) | |
tree | 29b6b76bf5e5177197a723c86728155b314aa8db /scumm/script_v5.cpp | |
parent | 9f0b97b91b63b9c2468347b7ab90df7b915d6d25 (diff) | |
download | scummvm-rg350-7c04dc7a86d15795ad55f24b13345b739ee18428.tar.gz scummvm-rg350-7c04dc7a86d15795ad55f24b13345b739ee18428.tar.bz2 scummvm-rg350-7c04dc7a86d15795ad55f24b13345b739ee18428.zip |
patch #815478: fix object leak in V5 opcode
svn-id: r10513
Diffstat (limited to 'scumm/script_v5.cpp')
-rw-r--r-- | scumm/script_v5.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scumm/script_v5.cpp b/scumm/script_v5.cpp index b8560154d9..a9634a48a5 100644 --- a/scumm/script_v5.cpp +++ b/scumm/script_v5.cpp @@ -1976,7 +1976,9 @@ void Scumm_v5::o5_roomOps() { ptr[cnt] = '\0'; loadPtrToResource(rtString, a, ptr); free(ptr); + delete file; } + delete mgr; break; } case 15: /* palmanip */ |