summaryrefslogtreecommitdiff
path: root/apps/plugins/puzzles/src/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/puzzles/src/misc.c')
-rw-r--r--apps/plugins/puzzles/src/misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/puzzles/src/misc.c b/apps/plugins/puzzles/src/misc.c
index 6b4414f..1d6ec4c 100644
--- a/apps/plugins/puzzles/src/misc.c
+++ b/apps/plugins/puzzles/src/misc.c
@@ -26,7 +26,7 @@ void free_keys(key_label *keys, int nkeys)
int i;
for(i = 0; i < nkeys; i++)
- sfree(keys->label);
+ sfree(keys[i].label);
sfree(keys);
}