From: Eric Biggers Date: Thu, 25 Apr 2013 04:24:18 +0000 (-0500) Subject: wimlib_free(): Add missing pthread_mutex_destroy() X-Git-Tag: v1.3.3~34 X-Git-Url: https://wimlib.net/git/?p=wimlib;a=commitdiff_plain;h=66f034667af2167ccaa21e7f4ea9811cef443ab9;hp=0fff6faf47040a8b02eac070b6c5f2477d319fbb wimlib_free(): Add missing pthread_mutex_destroy() --- 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