Commit 5ea2ab6a authored by Akira TAGOH's avatar Akira TAGOH

Make a call fail on ENOMEM

parent 38569f2f
......@@ -143,6 +143,8 @@ FcPtrListIterAdd (FcPtrList *list,
return FcFalse;
e = (FcPtrListEntry *) malloc (sizeof (FcPtrListEntry));
if (!e)
return FcFalse;
e->data = data;
if (priv->entry)
......
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