Module: wine Branch: master Commit: 0d00e16327cbc0952a06646065f4a3983641cfa9 URL: http://source.winehq.org/git/wine.git/?a=commit;h=0d00e16327cbc0952a06646065...
Author: Marcus Meissner marcus@jet.franken.de Date: Sat Mar 8 10:00:53 2014 +0100
hhctrl.ocx: Free the correct buffer (Coverity).
---
dlls/hhctrl.ocx/stream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/hhctrl.ocx/stream.c b/dlls/hhctrl.ocx/stream.c index 4dc9645..6e831e5 100644 --- a/dlls/hhctrl.ocx/stream.c +++ b/dlls/hhctrl.ocx/stream.c @@ -145,7 +145,7 @@ BOOL next_node(stream_t *stream, strbuf_t *buf) strbuf_init(&tmpbuf); if(!find_node_end(stream, &tmpbuf)) { - strbuf_free(buf); + strbuf_free(&tmpbuf); return FALSE; } strbuf_free(&tmpbuf);