diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/agi/loader_v3.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/agi/loader_v3.cpp b/engines/agi/loader_v3.cpp index 4ee35d73eb..f145140768 100644 --- a/engines/agi/loader_v3.cpp +++ b/engines/agi/loader_v3.cpp @@ -229,7 +229,7 @@ uint8 *AgiLoader_v3::loadVolRes(AgiDir *agid) { if (x[2] & 0x80) { // compressed pic data = _vm->_picture->convertV3Pic(compBuffer, agid->clen); - free(compBuffer); + // compBuffer has been freed inside convertV3Pic() } else if (agid->len == agid->clen) { // do not decompress data = compBuffer; |