This is an automated email from Gerrit. Paul Fertser (fercer...@gmail.com) just uploaded a new patch set to Gerrit, which you can find at http://openocd.zylin.com/2543
-- gerrit commit 8203440c5efde606830648d99883f6c5dad2e1b4 Author: Paul Fertser <fercer...@gmail.com> Date: Wed Feb 11 11:04:15 2015 +0300 hla/hla_interface: call HLA layout API close() on quit This bug was exposed by Valgrind. Change-Id: I2e2bc036b49ca3ff22f78f765ee4537763350096 Signed-off-by: Paul Fertser <fercer...@gmail.com> diff --git a/src/jtag/hla/hla_interface.c b/src/jtag/hla/hla_interface.c index 21cd06f..85f083c 100644 --- a/src/jtag/hla/hla_interface.c +++ b/src/jtag/hla/hla_interface.c @@ -124,6 +124,9 @@ static int hl_interface_quit(void) } hl_if.param.trace_source_hz = 0; + if (hl_if.layout->api->close) + hl_if.layout->api->close(hl_if.handle); + return ERROR_OK; } -- ------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ OpenOCD-devel mailing list OpenOCD-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openocd-devel