From: Rob Bradford <[email protected]>

---
 clients/window.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/clients/window.c b/clients/window.c
index 2baf4d9..0701981 100644
--- a/clients/window.c
+++ b/clients/window.c
@@ -4241,6 +4241,7 @@ display_create(int argc, char *argv[])
        d->display = wl_display_connect(NULL);
        if (d->display == NULL) {
                fprintf(stderr, "failed to create display: %m\n");
+               free(d);
                return NULL;
        }
 
-- 
1.7.11.7

_______________________________________________
wayland-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to