Make a call fail on ENOMEM
This commit is contained in:
parent
38569f2f2e
commit
5ea2ab6a38
|
@ -143,6 +143,8 @@ FcPtrListIterAdd (FcPtrList *list,
|
|||
return FcFalse;
|
||||
|
||||
e = (FcPtrListEntry *) malloc (sizeof (FcPtrListEntry));
|
||||
if (!e)
|
||||
return FcFalse;
|
||||
e->data = data;
|
||||
|
||||
if (priv->entry)
|
||||
|
|
Loading…
Reference in New Issue