Commit 529d9ea9 authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

xmllite: Also clear the attr pointer in reader_clear_attrs.

parent 3218cc07
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment