From 58d4f5692814b2e393163f1083b6da525a6f0a15 Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 14 May 2003 19:09:05 +0300 Subject: os0sync.c: Backport from 4.0: We had forgotten to call pthread_mutex_destroy when we free an OS mutex in Unix innobase/os/os0sync.c: Backport from 4.0: We had forgotten to call pthread_mutex_destroy when we free an OS mutex in Unix --- innobase/os/os0sync.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/innobase/os/os0sync.c b/innobase/os/os0sync.c index 14677ede20f..e212b115806 100644 --- a/innobase/os/os0sync.c +++ b/innobase/os/os0sync.c @@ -488,7 +488,6 @@ os_fast_mutex_free( DeleteCriticalSection((LPCRITICAL_SECTION) fast_mutex); #else - UT_NOT_USED(fast_mutex); - + pthread_mutex_destroy(fast_mutex); #endif } -- cgit v1.2.1