summaryrefslogtreecommitdiff
path: root/fuzz/xpath.c
diff options
context:
space:
mode:
Diffstat (limited to 'fuzz/xpath.c')
-rw-r--r--fuzz/xpath.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fuzz/xpath.c b/fuzz/xpath.c
index 4cb29f67..47652bd5 100644
--- a/fuzz/xpath.c
+++ b/fuzz/xpath.c
@@ -45,6 +45,7 @@ LLVMFuzzerTestOneInput(const char *data, size_t size) {
xmlFreeDoc(doc);
xmlFuzzDataCleanup();
+ xmlResetLastError();
return(0);
}