Edit

kc3-lang/libxml2

Branch :

  • Show log

    Commit

  • Author : Nick Wellnhofer
    Date : 2019-10-20 14:22:20
    Hash : 429d4eca
    Message : Propagate memory errors in valuePush Currently, many memory allocation errors in xpath.c aren't propagated to the parser/evaluation context and for the most part ignored. Most XPath objects allocated via one of the New, Wrap or Copy functions end up being pushed on the stack, so adding a check in valuePush handles many cases without much effort. Also simplify the code a little and make sure to return -1 in case of error.