aboutsummaryrefslogtreecommitdiff
path: root/engines/access
diff options
context:
space:
mode:
authorEugene Sandulenko2016-05-15 13:07:23 +0200
committerEugene Sandulenko2016-05-15 13:07:23 +0200
commit7526cf82f2279698aecb48aacc97849bed3d410b (patch)
tree07530cdff57ef0ac35b41de283be772d02f1a1b2 /engines/access
parent6858dbe2c283615f358af3be357aca452e34cf39 (diff)
downloadscummvm-rg350-7526cf82f2279698aecb48aacc97849bed3d410b.tar.gz
scummvm-rg350-7526cf82f2279698aecb48aacc97849bed3d410b.tar.bz2
scummvm-rg350-7526cf82f2279698aecb48aacc97849bed3d410b.zip
FULLPIPE: Plug memory leak
Diffstat (limited to 'engines/access')
-rw-r--r--engines/access/inventory.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/access/inventory.cpp b/engines/access/inventory.cpp
index 0a962aa69a..e9874cd8d6 100644
--- a/engines/access/inventory.cpp
+++ b/engines/access/inventory.cpp
@@ -223,6 +223,7 @@ int InventoryManager::displayInv() {
else
_vm->_useItem = -1;
+ free(names);
free(inv);
return 0;
}