[PATCH] weston-editor: Free preferred_language in text_entry_destroy
Silvan Jegen
s.jegen at gmail.com
Thu Nov 17 20:43:06 UTC 2016
Signed-off-by: Silvan Jegen <s.jegen at gmail.com>
---
clients/editor.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/clients/editor.c b/clients/editor.c
index 1ed3eec..a0d66d1 100644
--- a/clients/editor.c
+++ b/clients/editor.c
@@ -719,6 +719,7 @@ text_entry_destroy(struct text_entry *entry)
zwp_text_input_v1_destroy(entry->text_input);
g_clear_object(&entry->layout);
free(entry->text);
+ free(entry->preferred_language);
free(entry);
}
--
2.10.2
More information about the wayland-devel
mailing list