diff options
author | Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com> | 2013-09-06 17:49:38 +0300 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2013-09-11 11:55:32 -0700 |
commit | a62ef3e0b6a39b31c0a9677ce1257f9c4bfaa337 (patch) | |
tree | bdc23dc2f12d93c385c7a291242a2283c25b6c81 /src/compositor-drm.c | |
parent | b85ded0cb8e420ca123be5fc6033aef94e8924e4 (diff) | |
download | weston-a62ef3e0b6a39b31c0a9677ce1257f9c4bfaa337.tar.gz weston-a62ef3e0b6a39b31c0a9677ce1257f9c4bfaa337.tar.bz2 weston-a62ef3e0b6a39b31c0a9677ce1257f9c4bfaa337.zip |
vaapi-recorder: Don't leak drm fd
Make vaapi_recorder take onwership of the fd and close it at destroy
time.
Diffstat (limited to 'src/compositor-drm.c')
-rw-r--r-- | src/compositor-drm.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/compositor-drm.c b/src/compositor-drm.c index 7f6ffbcf..68406da6 100644 --- a/src/compositor-drm.c +++ b/src/compositor-drm.c @@ -2523,7 +2523,6 @@ recorder_binding(struct weston_seat *seat, uint32_t time, uint32_t key, weston_log("[libva recorder] initialized\n"); } else { vaapi_recorder_destroy(output->recorder); - /* FIXME: close drm fd passed to recorder */ output->recorder = NULL; output->base.disable_planes--; |