sim: sim_do_commandf: fix call to va_end [PR sim/19273]
authorMike Frysinger <vapier@gentoo.org>
Sun, 22 Nov 2015 07:10:04 +0000 (23:10 -0800)
committerMike Frysinger <vapier@gentoo.org>
Sun, 22 Nov 2015 07:15:28 +0000 (02:15 -0500)
commit2561d5808a330240a28841e8b3ce706a65ed31c9
tree487875e6a4fa55deb3694d629983a9006d9f8a59
parent7c125e3b10ac6f9222d24c76cdf31a5a9ec8dae0
sim: sim_do_commandf: fix call to va_end [PR sim/19273]

Make sure we call va_end even in the error case.
sim/common/ChangeLog
sim/common/sim-utils.c