diff options
author | George Kiagiadakis <george.kiagiadakis@collabora.com> | 2014-02-28 13:36:43 +0200 |
---|---|---|
committer | George Kiagiadakis <george.kiagiadakis@collabora.com> | 2014-06-17 13:51:24 +0200 |
commit | bf19d792d05087e95ddedc6b741b259e36f8943b (patch) | |
tree | d6845c1b218059ada22f9e3361bf7f349283f9df /ext/wayland | |
parent | e56f305274520e856044bf629886073bea21294e (diff) | |
download | gstreamer-plugins-bad-bf19d792d05087e95ddedc6b741b259e36f8943b.tar.gz |
waylandsink/waylandpool: unlink mmaped shm files so that they don't remain on the file system
Diffstat (limited to 'ext/wayland')
-rw-r--r-- | ext/wayland/waylandpool.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/wayland/waylandpool.c b/ext/wayland/waylandpool.c index 38d201e18..593d16f80 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; |