target/riscv-011: Fix memory leak in handle_halt_routine() 84/4884/2
authorMarc Schink <openocd-dev@marcschink.de>
Wed, 6 Feb 2019 11:07:10 +0000 (12:07 +0100)
committerTomas Vanek <vanekt@fbl.cz>
Thu, 14 Feb 2019 09:28:33 +0000 (09:28 +0000)
commita851b91c4c1db76dd1e26a7d1a99124ad456b020
tree2e3b372a5c948ecbcdc6f8d6babf54294ee39224
parent6c2020eb48803b941a94d600e2a96728d05a7da9
target/riscv-011: Fix memory leak in handle_halt_routine()

Tested with SiFive HiFive1 development board.

Change-Id: Ie0d9fa0899804d17ccdd84b03ba4028e97b632b8
Signed-off-by: Marc Schink <openocd-dev@marcschink.de>
Reviewed-on: http://openocd.zylin.com/4884
Tested-by: jenkins
Reviewed-by: Tim Newsome <tim@sifive.com>
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
src/target/riscv/riscv-011.c