On Sat, 2011-07-23 at 16:01 +0200, Jacek Caban wrote:

> > +    VariantInit( &body );
> > +    V_VT( &body ) = VT_ERROR;
> > +    hr = IWinHttpRequest_get_ResponseBody( req, &body );
> > +    ok( hr == S_OK, "got %08x\n", hr );
> > +    ok( V_VT( &body ) == (VT_ARRAY|VT_UI1), "got %08x\n", V_VT( &body ) );
> > +
> > +    ok( hr == S_OK, "got %08x\n", hr );
> 
> This duplicates the above test. Did you mean to test the result of
> VariantClear here (otherwise there is a leak)?

Yes, looks like that line got lost somehow. Thanks for the notice.




Reply via email to