trivial: convert remaining manual GError and GStrv memory management to automatic
Manual memory management for GError
and GStrv
is prone to mistakes resulting in memory corruption and, in some cases, makes the code more complicated.
We had mostly graduated to using g_autoptr()
and g_auto()
instead in the new code - let's now convert the remaining places too.