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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 this message:
> 
>     GLib-WARNING **: GError set over the top of a previous GError or uninitialized memory.
>     This indicates a bug in someone's code. You must ensure an error is NULL before it's set.
>     The overwriting error message was: Key file does not have group ?DUT?
> 
> Fixes: ee31e0b5 ("Introduce common frame dumping configuration...")
> 
> Cc: Paul Kocialkowski <paul.kocialkowski@xxxxxxxxxxxxxxx>
> Cc: Lyude <lyude@xxxxxxxxxx>
> Cc: Martin Peres <martin.peres@xxxxxxxxxxxxxxx>
> Signed-off-by: Paul Kocialkowski <paul.kocialkowski@xxxxxxxxxxxxxxx>
Acked-by: Arkadiusz Hiler <arkadiusz.hiler@xxxxxxxxx>

and pushed.

-- 
Cheers,
Arek
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux