Hi Alistair,
On 2/17/11 10:45 AM, Alistair Leslie-Hughes wrote:
> + IHTMLAnchorElement *anchor = _get_anchor_iface(line, unk);
> + BSTR str;
> + HRESULT hres;
> +
> + str = a2bstr(exhref);
> + hres = IHTMLAnchorElement_put_href(anchor, str);
> + ok_(__FILE__,line)(hres == S_OK, "get_href failed: %08x\n", hres);
> +
> + _test_disp_value(line, unk, exhref);
You leak str here.
Jacek