commit | 2c77d831cbe69c88d7cf8c2d9cc83cec35390bd8 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Tue Mar 13 19:02:04 2012 +0100 |
committer | Jens Axboe <axboe@kernel.dk> | Tue Mar 13 19:02:04 2012 +0100 |
tree | 06baa97479be67a2c44e17a826f7ff3f8a80c23c | |
parent | 6c1a9c2355dd0bb95f6f4aa618898f9764b7d145 [diff] [blame] |
gfio: fix leak of ge->job_files Signed-off-by: Jens Axboe <axboe@kernel.dk>
diff --git a/gfio.c b/gfio.c index eab02c2..d491aba 100644 --- a/gfio.c +++ b/gfio.c
@@ -1730,6 +1730,8 @@ i++; } + free(ge->job_files); + ge->job_files = NULL; ge->nr_job_files = 0; return ret; }