diff options
author | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2017-02-02 18:40:20 -0800 |
---|---|---|
committer | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2017-02-02 18:40:20 -0800 |
commit | 33159924b121f705428b26d1a1649735e1abbf19 (patch) | |
tree | e8985a4d125db76f5e35e6ec091fdca73e8be366 /docs/images/dom_tree.png | |
parent | faadd460c4f578645bb7dc759d4e66e0db11a13c (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 'docs/images/dom_tree.png')
0 files changed, 0 insertions, 0 deletions