projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use calloc() instead of malloc + memset
[fio.git]
/
gfio.c
diff --git
a/gfio.c
b/gfio.c
index 65302e6075a01daad0b794417909e0e213b4f66a..37c1db6918d0f8e25280bceea5ec6735dcabee0d 100644
(file)
--- a/
gfio.c
+++ b/
gfio.c
@@
-444,7
+444,7
@@
static int send_job_file(struct gui_entry *ge)
while (!flist_empty(&gc->o_list)) {
struct gfio_client_options *gco;
while (!flist_empty(&gc->o_list)) {
struct gfio_client_options *gco;
- gco = flist_
entry(gc->o_list.nex
t, struct gfio_client_options, list);
+ gco = flist_
first_entry(&gc->o_lis
t, struct gfio_client_options, list);
flist_del(&gco->list);
free(gco);
}
flist_del(&gco->list);
free(gco);
}