[2/3] winhttp: Implement IWinHttpRequest::get_ResponseBody. (try 2)

Hans Leidekker hans at codeweavers.com
Sat Jul 23 09:14:06 CDT 2011


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.





More information about the wine-devel mailing list