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>
This commit is contained in:
Pekka Paalanen 2017-12-07 16:05:29 +02:00
parent dc4e3c6118
commit 9bf4f37163
1 changed files with 1 additions and 0 deletions

View File

@ -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);
}