summaryrefslogtreecommitdiff
path: root/plugins/ao
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/ao')
-rw-r--r--plugins/ao/eng_qsf/eng_qsf.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/ao/eng_qsf/eng_qsf.c b/plugins/ao/eng_qsf/eng_qsf.c
index f5bc5c3c..130b5d2c 100644
--- a/plugins/ao/eng_qsf/eng_qsf.c
+++ b/plugins/ao/eng_qsf/eng_qsf.c
@@ -248,6 +248,10 @@ void *qsf_start(const char *path, uint8 *buffer, uint32 length)
// Dispose the corlett structure for the lib - we don't use it
free(lib);
+ if (lib_decoded) {
+ free (lib_decoded);
+ lib_decoded = NULL;
+ }
}
// now patch the file into RAM OVER the libraries