projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- fixed memory leak, which is happening when parsing options, claimed by ASAN
[fio.git]
/
fio_sem.c
diff --git
a/fio_sem.c
b/fio_sem.c
index c34d8bf76565ab7f93be9b9d2f6bbf41808f3950..c7806acb26ae3ea51211e5488819ce24add451db 100644
(file)
--- a/
fio_sem.c
+++ b/
fio_sem.c
@@
-169,7
+169,6
@@
void fio_sem_up(struct fio_sem *sem)
assert(sem->magic == FIO_SEM_MAGIC);
pthread_mutex_lock(&sem->lock);
- read_barrier();
if (!sem->value && sem->waiters)
do_wake = 1;
sem->value++;