Added malloc.