Commit a6535338 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

wayland screenshooter: add missing unlink()

parent 62f53d27
......@@ -193,6 +193,7 @@ static block_t *Shoot(demux_t *demux)
msg_Err(demux, "buffer creation error: %s", vlc_strerror_c(errno));
return NULL;
}
unlink(bufpath);
/* NOTE: one extra line for overflow if screen-left > 0 */
uint32_t pitch = 4u * sys->width;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment