Skip to content

Commit

Permalink
vo_kitty: unlink shared memory on vo close
Browse files Browse the repository at this point in the history
  • Loading branch information
kasper93 committed Jan 28, 2025
1 parent 1d352f8 commit af384df
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions video/out/vo_kitty.c
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ static void close_shm(struct priv *p)
p->buffer = NULL;
}
if (p->shm_fd != -1) {
shm_unlink(p->shm_path);
close(p->shm_fd);
p->shm_fd = -1;
}
Expand Down

0 comments on commit af384df

Please sign in to comment.