[PATCH weston 01/11] drm: close the drm file descriptor when the compositor is destroyed
Kristian Høgsberg
hoegsberg at gmail.com
Tue Jul 30 11:07:19 PDT 2013
On Fri, Jul 26, 2013 at 04:29:35PM +0100, Rob Bradford wrote:
> From: Rob Bradford <rob at linux.intel.com>
>
> ---
> src/compositor-drm.c | 2 ++
> 1 file changed, 2 insertions(+)
This and the rest applied. Good fixes, thanks.
Kristian
> diff --git a/src/compositor-drm.c b/src/compositor-drm.c
> index 5a5d79c..cf626ba 100644
> --- a/src/compositor-drm.c
> +++ b/src/compositor-drm.c
> @@ -2260,6 +2260,8 @@ drm_destroy(struct weston_compositor *ec)
> weston_log("failed to drop master: %m\n");
> tty_destroy(d->tty);
>
> + close(d->drm.fd);
> +
> free(d);
> }
>
> --
> 1.8.3.1
>
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel
More information about the wayland-devel
mailing list