hhctrl.ocx: Fix the mem handling in get_attr() (Smatch).
commit85afcdbfb3d1cae949c622098ff0d84b33500319
authorMichael Stefaniuc <mstefani@redhat.de>
Tue, 26 Jan 2010 21:13:54 +0000 (26 22:13 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 27 Jan 2010 10:16:15 +0000 (27 11:16 +0100)
tree49bd8441c2c977b856f95902429e5d3ead9eed3f
parent69861cf8730047a06ad898f9b45a4914a172745c
hhctrl.ocx: Fix the mem handling in get_attr() (Smatch).

name_buf is allocated on the stack and node_buf by heap_alloc.
Also don't leak node_buf when leaving the function.
dlls/hhctrl.ocx/content.c