]> git.sur5r.net Git - openocd/commit
jtag/tcl: Avoid casting away const
authorAndreas Fritiofson <andreas.fritiofson@gmail.com>
Sat, 28 Sep 2013 14:31:06 +0000 (16:31 +0200)
committerSpencer Oliver <spen@spen-soft.co.uk>
Mon, 7 Oct 2013 19:03:30 +0000 (19:03 +0000)
commit85830c32bfa3159cf05ba7619bf32c1c43db7f2e
treebfb92f0ff4f2f9567430180f36cb887afc0e86c7
parentd96010ae7125ced9a48613b5251a59249f519621
jtag/tcl: Avoid casting away const

Here, in_value == out_value, so free the non-const one.

Change-Id: I017ad9e7519711ac0c9da79265be7daaa846f356
Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Reviewed-on: http://openocd.zylin.com/1667
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
src/jtag/tcl.c