Fixed memory leaks in parse_directory_sector() and in extract_long_name().