From 3aedfdfb73a3e4f67509eb89192cfc10521460ba Mon Sep 17 00:00:00 2001 From: jp9000 Date: Mon, 10 Mar 2014 19:27:59 -0700 Subject: [PATCH] Fix wrong linux function Used the mac function instead by accident --- libobs/util/threading-posix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libobs/util/threading-posix.c b/libobs/util/threading-posix.c index 638b269aa..70b450774 100644 --- a/libobs/util/threading-posix.c +++ b/libobs/util/threading-posix.c @@ -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); } }