Commit 12be7973 authored by Akira TAGOH's avatar Akira TAGOH
Browse files

Fix memory leaks

parent 4b1276e2
......@@ -1832,11 +1832,13 @@ FcConfigSubstituteWithPat (FcConfig *config,
if (value[object])
FcConfigDel (&elt[object]->values, value[object]);
FcValueListDestroy (l);
/* fall through ... */
case FcOpDeleteAll:
FcConfigPatternDel (p, r->u.edit->object);
FcValueListDestroy (l);
FcValueListDestroy (l);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment