projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] syslet: fix leak of ring and ahu
[fio.git]
/
engines
/
syslet-rw.c
diff --git
a/engines/syslet-rw.c
b/engines/syslet-rw.c
index d6d9943c0bee29b2b23463c3ea1751f76f198868..71a2c6072427bbc84a6ca8cba69d0bab3e49efba 100644
(file)
--- a/
engines/syslet-rw.c
+++ b/
engines/syslet-rw.c
@@
-206,6
+206,9
@@
static void async_head_exit(struct syslet_data *sd)
{
if (async_unregister(sd->ahu, sizeof(*sd->ahu)) < 0)
perror("async_register");
+
+ free(sd->ahu);
+ free(sd->ring);
}
static void fio_syslet_cleanup(struct thread_data *td)