mirror of
git://sourceware.org/git/libabigail.git
synced 2024-12-18 07:54:36 +00:00
Add a missing xml text reader call
* src/abg-reader.cc (read_corpus_from_input): Add the necessary call to xmlTextReaderNext call after the xmlTextReaderExpand call. Signed-off-by: Dodji Seketeli <dodji@redhat.com>
This commit is contained in:
parent
093bc5da06
commit
143263c446
@ -1528,6 +1528,10 @@ read_corpus_from_input(read_context& ctxt)
|
||||
|
||||
corp.set_origin(corpus::NATIVE_XML_ORIGIN);
|
||||
|
||||
// This is the necessary counter-part of the xmlTextReaderExpand()
|
||||
// call at the beginning of the function.
|
||||
xmlTextReaderNext(reader.get());
|
||||
|
||||
return ctxt.get_corpus();;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user