pkgsrc-wip/mplayer-share/patches/patch-ab
2006-01-30 01:25:13 +00:00

16 lines
455 B
Text

$NetBSD: patch-ab,v 1.1.1.1 2006/01/30 01:25:14 lsed Exp $
--- loader/win32.c.orig 2005-11-19 15:35:45.000000000 +0100
+++ loader/win32.c 2005-11-23 17:08:42.000000000 +0100
@@ -451,8 +451,10 @@
if (last_alloc)
pthread_mutex_unlock(&memmut);
- else
+ else {
+ pthread_mutex_unlock(&memmut);
pthread_mutex_destroy(&memmut);
+ }
//if (alccnt < 40000) printf("MY_RELEASE: %p\t%ld (%d)\n", header, header->size, alccnt);
#else