aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/sci/scicore/resource.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/sci/scicore/resource.cpp b/engines/sci/scicore/resource.cpp
index a1e9f79eae..bb612afe3e 100644
--- a/engines/sci/scicore/resource.cpp
+++ b/engines/sci/scicore/resource.cpp
@@ -715,6 +715,7 @@ _scir_free_resources(resource_t *resources, int resources_nr) {
for (i = 0; i < resources_nr; i++) {
resource_t *res = resources + i;
+ // FIXME: alt_sources->next may point to an invalid memory location
_scir_free_altsources(res->alt_sources);
if (res->status != SCI_STATUS_NOMALLOC)