On Fri, Jul 17, 2020 at 18:15:55 -0300, Daniel Henrique Barboza wrote:
Use g_auto* on pointers to avoid using the 'cleanup' label.
In theory the 'ret' variable can also be discarded if the flow
of the logic is reworked. Perhaps another time.
Doing so would actually be pretty easy, mostly ret = ...; would need to
be replaced with direct return. I'll send a trivial patch doing this.
Jirka