target: Replace malloc+manual zeroing with calloc 67/3667/2
authorAndreas Fritiofson <andreas.fritiofson@gmail.com>
Sat, 13 Aug 2016 08:42:30 +0000 (10:42 +0200)
committerPaul Fertser <fercerpav@gmail.com>
Thu, 8 Dec 2016 14:59:40 +0000 (14:59 +0000)
commit50e2253ab9433e5ff2d01a7338477a44e7cf8a6f
tree5a101ddb57685341adf103d8b2516a67985e1809
parent44f21c9d4362e479158d0852bc16c0cde5d5b53d
target: Replace malloc+manual zeroing with calloc

Change-Id: I3c782c34b59cb36b8ca1d36e9c804c67bae5cb45
Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Reviewed-on: http://openocd.zylin.com/3667
Tested-by: jenkins
Reviewed-by: Paul Fertser <fercerpav@gmail.com>
src/target/target.c