From: Jens Axboe Date: Tue, 13 Mar 2012 18:02:04 +0000 (+0100) Subject: gfio: fix leak of ge->job_files X-Git-Tag: gfio-0.1~157 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=2c77d831cbe69c88d7cf8c2d9cc83cec35390bd8;p=fio.git gfio: fix leak of ge->job_files Signed-off-by: Jens Axboe --- diff --git a/gfio.c b/gfio.c index eab02c25..d491abaf 100644 --- 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; }