summaryrefslogtreecommitdiffhomepage
path: root/bridge.c
diff options
context:
space:
mode:
Diffstat (limited to 'bridge.c')
-rw-r--r--bridge.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/bridge.c b/bridge.c
index d0cb048..4291e7c 100644
--- a/bridge.c
+++ b/bridge.c
@@ -180,6 +180,8 @@ error:
bst->n_failed++;
bm->present = false;
bst->n_present--;
+ device_release(&bm->dev);
+
return ret;
}