Make a call fail on ENOMEM
diff --git a/src/fcptrlist.c b/src/fcptrlist.c
index a0688dd..bb88832 100644
--- a/src/fcptrlist.c
+++ b/src/fcptrlist.c
@@ -143,6 +143,8 @@
 	return FcFalse;
 
     e = (FcPtrListEntry *) malloc (sizeof (FcPtrListEntry));
+    if (!e)
+	return FcFalse;
     e->data = data;
 
     if (priv->entry)