From bf19d792d05087e95ddedc6b741b259e36f8943b Mon Sep 17 00:00:00 2001 From: George Kiagiadakis Date: Fri, 28 Feb 2014 13:36:43 +0200 Subject: [PATCH] waylandsink/waylandpool: unlink mmaped shm files so that they don't remain on the file system --- ext/wayland/waylandpool.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ext/wayland/waylandpool.c b/ext/wayland/waylandpool.c index 38d201e..593d16f 100644 --- a/ext/wayland/waylandpool.c +++ b/ext/wayland/waylandpool.c @@ -202,6 +202,7 @@ gst_wayland_buffer_pool_start (GstBufferPool * pool) } self->wl_pool = wl_shm_create_pool (self->display->shm, fd, size); + unlink (filename); close (fd); self->size = size; -- 2.7.4