[PATCH 2/2] lib: Use g_steal_pointer() more