Fix memory leaks
This commit is contained in:
parent
4b1276e240
commit
12be797387
|
@ -1832,11 +1832,13 @@ FcConfigSubstituteWithPat (FcConfig *config,
|
|||
if (value[object])
|
||||
{
|
||||
FcConfigDel (&elt[object]->values, value[object]);
|
||||
FcValueListDestroy (l);
|
||||
break;
|
||||
}
|
||||
/* fall through ... */
|
||||
case FcOpDeleteAll:
|
||||
FcConfigPatternDel (p, r->u.edit->object);
|
||||
FcValueListDestroy (l);
|
||||
break;
|
||||
default:
|
||||
FcValueListDestroy (l);
|
||||
|
|
Loading…
Reference in New Issue