mirror of
https://github.com/wolfcw/libfaketime.git
synced 2026-05-17 08:36:28 +03:00
Fix shared memory cleanup on local creation
This commit is contained in:
@@ -404,7 +404,7 @@ static void ft_shm_destroy(void)
|
||||
ft_shm_init() below at least tries to handle this carefully.
|
||||
*/
|
||||
sem_unlink(sem_name);
|
||||
sem_unlink(shm_name);
|
||||
shm_unlink(shm_name);
|
||||
unsetenv("FAKETIME_SHARED");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user