aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/scicore/exe_lzexe.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sci/scicore/exe_lzexe.cpp')
-rw-r--r--engines/sci/scicore/exe_lzexe.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/scicore/exe_lzexe.cpp b/engines/sci/scicore/exe_lzexe.cpp
index fafc6d6c4d..7866dd66f7 100644
--- a/engines/sci/scicore/exe_lzexe.cpp
+++ b/engines/sci/scicore/exe_lzexe.cpp
@@ -263,7 +263,7 @@ lzexe_open(const char *filename) {
handle = (exe_handle_t*)sci_malloc(sizeof(exe_handle_t));
if (!lzexe_init(handle, f)) {
- sci_free(handle);
+ free(handle);
return NULL;
}
@@ -318,7 +318,7 @@ static void
lzexe_close(exe_handle_t *handle) {
fclose(handle->f);
- sci_free(handle);
+ free(handle);
}
exe_decompressor_t