projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
6c1a9c2
)
gfio: fix leak of ge->job_files
author
Jens Axboe
<axboe@kernel.dk>
Tue, 13 Mar 2012 18:02:04 +0000
(19:02 +0100)
committer
Jens Axboe
<axboe@kernel.dk>
Tue, 13 Mar 2012 18:02:04 +0000
(19:02 +0100)
Signed-off-by: Jens Axboe <axboe@kernel.dk>
gfio.c
patch
|
blob
|
blame
|
history
diff --git
a/gfio.c
b/gfio.c
index eab02c251ab433303e4801ae455efe1df857dc62..d491abaf629cac463e8a6e99352cca5995ff5b90 100644
(file)
--- a/
gfio.c
+++ b/
gfio.c
@@
-1730,6
+1730,8
@@
static int send_job_files(struct gui_entry *ge)
i++;
}
+ free(ge->job_files);
+ ge->job_files = NULL;
ge->nr_job_files = 0;
return ret;
}