summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/vdpau/gstvdpdevice.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/vdpau/gstvdpdevice.c b/sys/vdpau/gstvdpdevice.c
index d7a074a7..84fe8922 100644
--- a/sys/vdpau/gstvdpdevice.c
+++ b/sys/vdpau/gstvdpdevice.c
@@ -50,6 +50,7 @@ gst_vdp_device_finalize (GObject * object)
GstVdpDevice *device = (GstVdpDevice *) object;
device->vdp_device_destroy (device->device);
+ XCloseDisplay (device->display);
g_free (device->display_name);
G_OBJECT_CLASS (gst_vdp_device_parent_class)->finalize (object);