From d64ff86fb6be22875cfae054f8a878dbd8b1472b Mon Sep 17 00:00:00 2001 From: Franklin Wei Date: Wed, 20 Jun 2018 19:13:03 -0400 Subject: puzzles: resync with upstream This brings the source to upstream commit 506b073 (though I have made some extra commits on top of that). Notably this includes a fix for a double-free bug that I myself introduced upstream. Change-Id: I02671586bbc34d63e05398ee971271fed42538cf --- apps/plugins/puzzles/src/misc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/plugins/puzzles/src/misc.c') 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); } -- cgit v1.1