summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/staging/greybus/manifest.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/greybus/manifest.c b/drivers/staging/greybus/manifest.c
index ce4e89c6d13e..bea565f1c1d1 100644
--- a/drivers/staging/greybus/manifest.c
+++ b/drivers/staging/greybus/manifest.c
@@ -255,6 +255,7 @@ cleanup:
/* An error occurred; undo any changes we've made */
list_for_each_entry_safe(connection, connection_next,
&bundle->connections, bundle_links) {
+ gb_connection_exit(connection);
gb_connection_destroy(connection);
count--;
}