Typo and Fix possible munmap of malloc'd memory.