summaryrefslogtreecommitdiffstats
path: root/loader
diff options
context:
space:
mode:
Diffstat (limited to 'loader')
-rw-r--r--loader/win32.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/loader/win32.c b/loader/win32.c
index 99f8ffd991..0b1999a043 100644
--- a/loader/win32.c
+++ b/loader/win32.c
@@ -436,10 +436,7 @@ static int my_release(void* memory)
alccnt--;
- if (last_alloc)
- pthread_mutex_unlock(&memmut);
- else
- pthread_mutex_destroy(&memmut);
+ pthread_mutex_unlock(&memmut);
//if (alccnt < 40000) printf("MY_RELEASE: %p\t%ld (%d)\n", header, header->size, alccnt);
#else