ref: 02c0b2727efa9bbc2c0a30f7169e176f1387afb7
parent: 69523b24decd9b4c8aaf070b71a4da68e0dd1bfa
author: Lance <lance@alltinker.com>
date: Fri Nov 27 11:06:36 EST 2020
Minor fix for freeInstr(), preventing a crash on repeated calls.
--- a/pmplay.c
+++ b/pmplay.c
@@ -340,7 +340,7 @@
}
free(ins);
- ins = NULL;
+ instr[nr] = NULL;
}
static void freeAllInstr(void)