Commit 58d4f569 authored by unknown's avatar unknown

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
parent a1b47072
...@@ -488,7 +488,6 @@ os_fast_mutex_free( ...@@ -488,7 +488,6 @@ os_fast_mutex_free(
DeleteCriticalSection((LPCRITICAL_SECTION) fast_mutex); DeleteCriticalSection((LPCRITICAL_SECTION) fast_mutex);
#else #else
UT_NOT_USED(fast_mutex); pthread_mutex_destroy(fast_mutex);
#endif #endif
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment