Signed-off-by: Arnaud Vrac <raw...@gmail.com>
---
 libweston/gl-renderer.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libweston/gl-renderer.c b/libweston/gl-renderer.c
index da29b072..5768f05a 100644
--- a/libweston/gl-renderer.c
+++ b/libweston/gl-renderer.c
@@ -337,6 +337,7 @@ dmabuf_image_destroy(struct dmabuf_image *image)
                linux_dmabuf_buffer_set_user_data(image->dmabuf, NULL, NULL);
 
        wl_list_remove(&image->link);
+       free(image);
 }
 
 static const char *
-- 
2.13.0

_______________________________________________
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to