From: Pekka Paalanen <pekka.paala...@collabora.co.uk>

Spotted by Valgrind.

Signed-off-by: Pekka Paalanen <pekka.paala...@collabora.co.uk>
---
 libweston/compositor-drm.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libweston/compositor-drm.c b/libweston/compositor-drm.c
index a975b379..636da9e8 100644
--- a/libweston/compositor-drm.c
+++ b/libweston/compositor-drm.c
@@ -5233,6 +5233,7 @@ drm_destroy(struct weston_compositor *ec)
        wl_array_release(&b->unused_connectors);
 
        close(b->drm.fd);
+       free(b->drm.filename);
        free(b);
 }
 
-- 
2.13.6

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

Reply via email to