Skip to content
Snippets Groups Projects
Commit 5f548d2a authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard
Browse files

xmllite/writer: Free finished element data (Valgrind).

parent c43030b6
Branches
Tags
No related merge requests found
......@@ -1221,6 +1221,7 @@ static HRESULT WINAPI xmlwriter_WriteEndElement(IXmlWriter *iface)
write_output_buffer(This->output, element->qname, element->len);
write_output_buffer(This->output, gtW, ARRAY_SIZE(gtW));
}
writer_free_element(This, element);
return S_OK;
}
......@@ -1287,6 +1288,8 @@ static HRESULT WINAPI xmlwriter_WriteFullEndElement(IXmlWriter *iface)
write_output_buffer(This->output, element->qname, element->len);
write_output_buffer(This->output, gtW, ARRAY_SIZE(gtW));
writer_free_element(This, element);
return S_OK;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment