From: OpenOCD-Gerrit <ope...@us...> - 2021-12-18 17:23:15
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Main OpenOCD repository". The branch, master has been updated via 1e07079dee083255eb84fdebdfd4ed4c30e82812 (commit) from fdf17dba569ac8aca0771c28b661e3722d776541 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 1e07079dee083255eb84fdebdfd4ed4c30e82812 Author: Tomas Vanek <va...@fb...> Date: Wed Dec 8 17:46:34 2021 +0100 jtag/drivers/vsllink: fix memory leak Close libusb context in vsllink_quit() Change-Id: I85da8d7228b1b2b033a32b2f9ae9ed0726546b55 Signed-off-by: Tomas Vanek <va...@fb...> Reviewed-on: https://review.openocd.org/c/openocd/+/6766 Tested-by: jenkins Reviewed-by: Antonio Borneo <bor...@gm...> diff --git a/src/jtag/drivers/vsllink.c b/src/jtag/drivers/vsllink.c index f59a7033e..dbbdef4ba 100644 --- a/src/jtag/drivers/vsllink.c +++ b/src/jtag/drivers/vsllink.c @@ -273,6 +273,7 @@ static int vsllink_quit(void) vsllink_free_buffer(); vsllink_usb_close(vsllink_handle); + libusb_exit(vsllink_handle->libusb_ctx); free(vsllink_handle); return ERROR_OK; ----------------------------------------------------------------------- Summary of changes: src/jtag/drivers/vsllink.c | 1 + 1 file changed, 1 insertion(+) hooks/post-receive -- Main OpenOCD repository |