gl-renderer: fix leak on dmabuf image destroy

Signed-off-by: Arnaud Vrac <rawoul@gmail.com>
Reviewed-by: Quentin Glidic <sardemff7+git@sardemff7.net>
dev
Arnaud Vrac 7 years ago committed by Quentin Glidic
parent 94e664d92b
commit 7b5fe9b076
No known key found for this signature in database
GPG Key ID: AC203F96E2C34BB7
  1. 1
      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 *

Loading…
Cancel
Save