weston-editor: Free preferred_language in text_entry_destroy

Signed-off-by: Silvan Jegen <s.jegen@gmail.com>
Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
Signed-off-by: Daniel Stone <daniels@collabora.com>
dev
Silvan Jegen 8 years ago committed by Daniel Stone
parent 5e604082d1
commit e31d95f262
  1. 1
      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);
}

Loading…
Cancel
Save