summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorArseny Kapoulkine <arseny.kapoulkine@gmail.com>2017-02-02 18:40:20 -0800
committerArseny Kapoulkine <arseny.kapoulkine@gmail.com>2017-02-02 18:40:20 -0800
commit33159924b121f705428b26d1a1649735e1abbf19 (patch)
treee8985a4d125db76f5e35e6ec091fdca73e8be366 /contrib
parentfaadd460c4f578645bb7dc759d4e66e0db11a13c (diff)
XPath: Clean up out-of-memory parse error handling
Instead of relying on a specific string in the parse result, use allocator error state to report the error and then convert it to a string if necessary. We currently have to manually trigger the OOM error in two places because we use global allocator in rare cases; we don't really need to do this so this will be cleaned up later.
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions