internal-comp-loader: fix error ownership in parsing step

This commit is contained in:
George Kiagiadakis
2023-06-20 17:03:51 +03:00
parent 19cfd37da6
commit 2840964f37

View File

@@ -410,7 +410,7 @@ wp_component_array_load_task_execute_step (WpTransition * transition, guint step
(ComponentData **) &g_ptr_array_index (self->components, 0);
wp_transition_advance (transition);
} else {
wp_transition_return_error (transition, error);
wp_transition_return_error (transition, g_steal_pointer (&error));
}
break;
}