hhctrl.ocx: Free the correct buffer (Coverity).
This commit is contained in:
parent
3fa41c9e70
commit
0d00e16327
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue