• Nick Wellnhofer's avatar
    Audit memory error handling in xpath.c · bfc0f674
    Nick Wellnhofer authored
    Memory allocation errors in the following functions a often ignored.
    Add TODO comments.
    
    - xmlXPathNodeSetCreate
    - xmlXPathNodeSetAdd*
    - xmlXPathNodeSetMerge*
    - xmlXPathNodeSetDupNs
    
    Note that the following functions currently lack a way to propagate
    memory errors:
    
    - xmlXPathCompareNodeSets
    - xmlXPathEqualNodeSets
    bfc0f674