mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-02-04 20:10:27 +01:00
daemon: fallthrough to the error case instead of repeating cleanup statements
This commit is contained in:
parent
13f9f98bc8
commit
f00011d23a
1 changed files with 1 additions and 4 deletions
|
|
@ -413,10 +413,7 @@ wp_init_transition_execute_step (WpTransition * transition, guint step)
|
|||
|
||||
case STEP_CLEANUP:
|
||||
wp_info ("wirePlumber initialized");
|
||||
g_clear_object (&self->om);
|
||||
g_list_free_full (self->components, (GDestroyNotify) component_data_free);
|
||||
self->components = NULL;
|
||||
break;
|
||||
G_GNUC_FALLTHROUGH;
|
||||
|
||||
case WP_TRANSITION_STEP_ERROR:
|
||||
g_clear_object (&self->om);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue