Commit 0d00e163 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

hhctrl.ocx: Free the correct buffer (Coverity).

parent 3fa41c9e
...@@ -145,7 +145,7 @@ BOOL next_node(stream_t *stream, strbuf_t *buf) ...@@ -145,7 +145,7 @@ BOOL next_node(stream_t *stream, strbuf_t *buf)
strbuf_init(&tmpbuf); strbuf_init(&tmpbuf);
if(!find_node_end(stream, &tmpbuf)) if(!find_node_end(stream, &tmpbuf))
{ {
strbuf_free(buf); strbuf_free(&tmpbuf);
return FALSE; return FALSE;
} }
strbuf_free(&tmpbuf); strbuf_free(&tmpbuf);
......
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