Re: [libosinfo PATCH] Use g_list_free_full where easily possible

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

 



On Thu, 2018-12-20 at 10:56 +0100, Pino Toscano wrote:
> Use g_list_free_full instead of g_list_foreach + g_list_free, so the
> lists are cleared with a single call.
> 
> test-isodetect gets a void* wrapper, so there is no need to add casts
> everywhere.
> 
[snip]

Pino, your patch looks fine although it could also do this cleanup in a
few other places, altogether.

Please, take a look at: 
https://gitlab.com/fidencio/libosinfo/commit/527e51cfc6bdcc3412b574e825f4060781fef537

If you agree with my proposed fixup, I'd squash my changes into your
patch and have your patch merged.

Best Regards,
-- 
Fabiano Fidêncio

_______________________________________________
Libosinfo mailing list
Libosinfo@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libosinfo




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux