Fixed bug due to malloc not zeroing memory....