Skip to content

Commit

Permalink
Merge pull request #473 from EgnalZurc/patch-1
Browse files Browse the repository at this point in the history
Preventing shared semaphore to be used again
  • Loading branch information
wolfcw authored Jun 5, 2024
2 parents a047502 + 7e9d69b commit ba9ed5b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libfaketime.c
Original file line number Diff line number Diff line change
Expand Up @@ -628,6 +628,7 @@ static void ft_cleanup (void)
if (shared_sem != NULL)
{
sem_close(shared_sem);
shared_sem = NULL;
}
#ifdef FAKE_PTHREAD
if (pthread_rwlock_destroy(&monotonic_conds_lock) != 0) {
Expand Down

0 comments on commit ba9ed5b

Please sign in to comment.