fio_plugin: fix io completion queue leak in nvme plugin
fio_thread->iocq allocated on line 403 was leaked when fio finished its run. Change-Id: I740dcaa1e0037283d099ddf4bc125cec57cfdbcc Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/456623 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
This commit is contained in:
parent
3b9db6c403
commit
37b5912545
@ -907,6 +907,7 @@ static void spdk_fio_cleanup(struct thread_data *td)
|
||||
fio_qpair = fio_qpair_tmp;
|
||||
}
|
||||
|
||||
free(fio_thread->iocq);
|
||||
free(fio_thread);
|
||||
|
||||
pthread_mutex_lock(&g_mutex);
|
||||
|
Loading…
Reference in New Issue
Block a user