[Spice-devel] [spice-server v2 2/3] tests: Port test-qxl-parsing to GTest

Christophe Fergeau cfergeau at redhat.com
Mon Mar 20 17:55:22 UTC 2017


On Fri, Mar 17, 2017 at 02:10:22PM +0100, Pavel Grunt wrote:
> > +
> > +static void deinit_qxl_surface(QXLSurfaceCmd *qxl)
> > +{
> > +    free((void *)qxl->u.surface_create.data);
> 
> `make syntax-check` is failing because of this

Ah, thanks, it also fails after this patch because of the #include
<assert.h>. I've removed the cast and the include.

However the @VALGRIND_CHECK_RULES@ added in the next patch also breaks
make syntax-check, I'll address this too :)

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20170320/b2da9fd5/attachment.sig>


More information about the Spice-devel mailing list