mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-01 15:49:51 +08:00
Fix wrong linux function
Used the mac function instead by accident
This commit is contained in:
@@ -217,7 +217,7 @@ int os_sem_init(os_sem_t *sem, int value)
|
||||
void os_sem_destroy(os_sem_t sem)
|
||||
{
|
||||
if (sem) {
|
||||
semaphore_destroy(&sem->sem);
|
||||
sem_destroy(&sem->sem);
|
||||
bfree(sem);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user