projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
First snapshot of FIO for Windows
[fio.git]
/
mutex.c
diff --git
a/mutex.c
b/mutex.c
index 88044f3a818753feb374bc0370e545fb2095d248..c1ce2a3e8740de808e70076a141b642646f9087f 100644
(file)
--- a/
mutex.c
+++ b/
mutex.c
@@
-93,6
+93,9
@@
struct fio_mutex *fio_mutex_init(int value)
goto err;
}
goto err;
}
+ pthread_condattr_destroy(&cond);
+ pthread_mutexattr_destroy(&attr);
+
return mutex;
err:
if (mutex)
return mutex;
err:
if (mutex)