summary refs log tree commit diff
path: root/keyboard.h
diff options
context:
space:
mode:
authorZach DeCook <zachdecook@librem.one>2022-01-22 04:50:55 -0500
committerZach DeCook <zachdecook@librem.one>2022-01-22 04:50:55 -0500
commitd04f7e07d4a5278e8e8530925e2852b591d6e37b (patch)
tree1821a1b73a48a507357560fe36af242fb48208b4 /keyboard.h
parentda3ce831fdeed71dd2a0e3deb977d6bc770ef2f9 (diff)
downloadsuggpicker-d04f7e07d4a5278e8e8530925e2852b591d6e37b.tar.gz
input: fix obvious memory leak
Diffstat (limited to 'keyboard.h')
-rw-r--r--keyboard.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboard.h b/keyboard.h
index 2827b6a..7189d70 100644
--- a/keyboard.h
+++ b/keyboard.h
@@ -24,7 +24,7 @@ struct clr_scheme {
 };
 
 struct key {
-	const char *label;       // primary label
+	char *label;
 	// actual coordinates on the surface (pixels), will be computed automatically
 	// for all keys
 	uint32_t x, y, w, h;