We were leaking a couple of buffers (both input and output), and also a couple of filenames. Signed-off-by: Daniel Stone <daniels@collabora.com>
This adds a test to ensure that the DRM-backend writeback screenshooter is working properly. Signed-off-by: Leandro Ribeiro <leandro.ribeiro@collabora.com>