Skip to content

Commit

Permalink
XML: Properly clears XML parser buffer
Browse files Browse the repository at this point in the history
Avoids to keep growing the buffer indefinitely
  • Loading branch information
Tpt committed Mar 4, 2023
1 parent a1ddf2e commit ca29811
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions xml/src/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ impl<R: BufRead> TriplesParser for RdfXmlParser<R> {
}
_ => {}
};
self.reader_buffer.clear();
Ok(())
}

Expand Down

0 comments on commit ca29811

Please sign in to comment.