Re: [Intel-gfx] [PATCH i-g-t v2] lib/igt_core: Handle glib errors correctly to avoid stderr spew

2017-07-20 Thread Arkadiusz Hiler
On Thu, Jul 20, 2017 at 11:07:42AM +0300, Paul Kocialkowski wrote: > This adds the required error clean/free calls after calling > configuration parsing functions. In addition to properly handling memory, > this avoids glib spewing out error messages on stderr, which breaks the > whole CI with

[Intel-gfx] [PATCH i-g-t v2] lib/igt_core: Handle glib errors correctly to avoid stderr spew

2017-07-20 Thread Paul Kocialkowski
This adds the required error clean/free calls after calling configuration parsing functions. In addition to properly handling memory, this avoids glib spewing out error messages on stderr, which breaks the whole CI with this message: GLib-WARNING **: GError set over the top of a previous