Fixed a segfault and a possible memory leak in xml_reader_t API
xml_ReaderReset(reader, NULL) followed by xml_ReaderDelete(reader) lead to a double free. xml_ReaderReset(reader, stream) would leak the module upon error.
Showing
Please register or sign in to comment