MCPcopy Create free account
hub / github.com/Kitware/VTK / xmlSchemaItemListCreate

Function xmlSchemaItemListCreate

ThirdParty/libxml2/vtklibxml2/xmlschemas.c:3401–3413  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3399}
3400
3401static xmlSchemaItemListPtr
3402xmlSchemaItemListCreate(void)
3403{
3404 xmlSchemaItemListPtr ret;
3405
3406 ret = xmlMalloc(sizeof(xmlSchemaItemList));
3407 if (ret == NULL) {
3408 xmlSchemaPErrMemory(NULL);
3409 return (NULL);
3410 }
3411 memset(ret, 0, sizeof(xmlSchemaItemList));
3412 return (ret);
3413}
3414
3415static void
3416xmlSchemaItemListClear(xmlSchemaItemListPtr list)

Calls 1

xmlSchemaPErrMemoryFunction · 0.85

Tested by

no test coverage detected