gl-renderer: fix leak on dmabuf image destroy
Signed-off-by: Arnaud Vrac <rawoul@gmail.com> Reviewed-by: Quentin Glidic <sardemff7+git@sardemff7.net>
This commit is contained in:
committed by
Quentin Glidic
parent
94e664d92b
commit
7b5fe9b076
@@ -337,6 +337,7 @@ dmabuf_image_destroy(struct dmabuf_image *image)
|
|||||||
linux_dmabuf_buffer_set_user_data(image->dmabuf, NULL, NULL);
|
linux_dmabuf_buffer_set_user_data(image->dmabuf, NULL, NULL);
|
||||||
|
|
||||||
wl_list_remove(&image->link);
|
wl_list_remove(&image->link);
|
||||||
|
free(image);
|
||||||
}
|
}
|
||||||
|
|
||||||
static const char *
|
static const char *
|
||||||
|
|||||||
Reference in New Issue
Block a user