6 Dec
2012
6 Dec
'12
7:42 a.m.
Qian Hong <fracting(a)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. -- Dmitry.