xmllite: Also clear the attr pointer in reader_clear_attrs.
This commit is contained in:
parent
3218cc077e
commit
529d9ea922
|
@ -368,6 +368,7 @@ static void reader_clear_attrs(xmlreader *reader)
|
|||
}
|
||||
list_init(&reader->attrs);
|
||||
reader->attr_count = 0;
|
||||
reader->attr = NULL;
|
||||
}
|
||||
|
||||
/* attribute data holds pointers to buffer data, so buffer shrink is not possible
|
||||
|
|
|
@ -838,7 +838,6 @@ todo_wine
|
|||
ok(count == 0, "expected 0, got %d\n", count);
|
||||
|
||||
ret = IXmlReader_IsEmptyElement(reader);
|
||||
todo_wine
|
||||
ok(ret, "element should be empty\n");
|
||||
|
||||
hr = IXmlReader_GetValue(reader, &val, NULL);
|
||||
|
|
Loading…
Reference in New Issue