projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a24ef27
)
- fixed memory leak in parent process detected by ASAN when forking and not freeing...
author
Denis Pronin
<dannftk@yandex.ru>
Wed, 9 Mar 2022 12:37:01 +0000
(15:37 +0300)
committer
Denis Pronin
<dannftk@yandex.ru>
Wed, 9 Mar 2022 12:37:13 +0000
(15:37 +0300)
Signed-off-by: Denis Pronin <dannftk@yandex.ru>
backend.c
patch
|
blob
|
blame
|
history
diff --git
a/backend.c
b/backend.c
index a21dfef637bb74c2d6bf645d7f0e6a025961c072..cd7f4e5f62e3fcf2c3df6d1699114a23b4a8ee88 100644
(file)
--- a/
backend.c
+++ b/
backend.c
@@
-2441,6
+2441,8
@@
reap:
_exit(ret);
} else if (i == fio_debug_jobno)
*fio_debug_jobp = pid;
+ free(fd);
+ fd = NULL;
}
dprint(FD_MUTEX, "wait on startup_sem\n");
if (fio_sem_down_timeout(startup_sem, 10000)) {