Qian Hong fracting@gmail.com wrote:
- GetEnumStructs( face, &elf, &ntm, &type );
- if (!get_enum_structs( face, &elf, &ntm, &type )) return FALSE; free_family( family );
'face' and 'family' are leaked here. Also returning FALSE at this point is too late since both 'face' and 'family' are already in the linked lists.