ref: 506b07352ae225c74e79f6c6e7872bc2005bdb53
parent: 5a697b3df94cec314fba99a3bf1e0de69fe88c09
author: Lennard Sprong <[email protected]>
date: Thu Jun 14 17:45:26 EDT 2018
misc.c: Fix implementation of free_keys. The previous version attempted to free the first element multiple times.
--- a/misc.c
+++ b/misc.c
@@ -26,7 +26,7 @@
int i;
for(i = 0; i < nkeys; i++)
- sfree(keys->label);
+ sfree(keys[i].label);
sfree(keys);
}