fixed memory leak in xpath error reporting

* xpath.c: fixed memory leak in xpath error reporting
2 files changed