Changes required by using calloc with ARC.
Fixed null area allocated in testing under ST4.