aboutsummaryrefslogtreecommitdiff
path: root/qemu-nbd.c
diff options
context:
space:
mode:
Diffstat (limited to 'qemu-nbd.c')
-rw-r--r--qemu-nbd.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/qemu-nbd.c b/qemu-nbd.c
index f741973687..5cd6c6d187 100644
--- a/qemu-nbd.c
+++ b/qemu-nbd.c
@@ -775,7 +775,6 @@ int main(int argc, char **argv)
}
} while (state != TERMINATED);
- bdrv_unref(bs);
blk_unref(blk);
if (sockpath) {
unlink(sockpath);