On 3/29/17 6:16 PM, Raúl Peñacoba wrote:
Signed-off-by: Raúl Peñacoba <[email protected]>
Good: Reviewed-by: Quentin Glidic <[email protected]> And pushed: bd8dc0a2..745e647f master -> master Thanks,
--- clients/editor.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/clients/editor.c b/clients/editor.c index a0cc97af..b63c5628 100644 --- a/clients/editor.c +++ b/clients/editor.c @@ -1607,6 +1607,7 @@ main(int argc, char *argv[]) editor.display = display_create(&argc, argv); if (editor.display == NULL) { fprintf(stderr, "failed to create display: %m\n"); + free(text_buffer); return -1; }@@ -1615,6 +1616,8 @@ main(int argc, char *argv[]) if (editor.text_input_manager == NULL) {fprintf(stderr, "No text input manager global\n"); + display_destroy(editor.display); + free(text_buffer); return -1; }
-- Quentin “Sardem FF7” Glidic _______________________________________________ wayland-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/wayland-devel
