compositor-drm: free filename in exit

Spotted by Valgrind.

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Reviewed-by: Ian Ray <ian.ray@ge.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
dev
Pekka Paalanen 7 years ago
parent dc4e3c6118
commit 9bf4f37163
  1. 1
      libweston/compositor-drm.c

@ -5229,6 +5229,7 @@ drm_destroy(struct weston_compositor *ec)
wl_array_release(&b->unused_connectors);
close(b->drm.fd);
free(b->drm.filename);
free(b);
}

Loading…
Cancel
Save