From 66f034667af2167ccaa21e7f4ea9811cef443ab9 Mon Sep 17 00:00:00 2001 From: Eric Biggers Date: Wed, 24 Apr 2013 23:24:18 -0500 Subject: [PATCH 1/1] wimlib_free(): Add missing pthread_mutex_destroy() --- src/wim.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/wim.c b/src/wim.c index 61e910a8..0900fead 100644 --- a/src/wim.c +++ b/src/wim.c @@ -657,6 +657,8 @@ wimlib_free(WIMStruct *w) fclose(w->fp_tab[i]); FREE(w->fp_tab); } +#endif +#if defined(WITH_FUSE) || defined(ENABLE_MULTITHREADED_COMPRESSION) pthread_mutex_destroy(&w->fp_tab_mutex); #endif -- 2.43.0