git://wimlib.net
/
wimlib
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0fff6fa
)
wimlib_free(): Add missing pthread_mutex_destroy()
author
Eric Biggers
<ebiggers3@gmail.com>
Thu, 25 Apr 2013 04:24:18 +0000
(23:24 -0500)
committer
Eric Biggers
<ebiggers3@gmail.com>
Thu, 25 Apr 2013 04:24:18 +0000
(23:24 -0500)
src/wim.c
patch
|
blob
|
history
diff --git
a/src/wim.c
b/src/wim.c
index 61e910a89c304501f822afd9db87aca62c13efb0..0900fead567803f0e765e76e9e0b7d0bfef87cb7 100644
(file)
--- 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);
}
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
pthread_mutex_destroy(&w->fp_tab_mutex);
#endif