Revision a4aab7b4
b/nbd.c | ||
---|---|---|
721 | 721 |
g_free(first); |
722 | 722 |
} |
723 | 723 |
|
724 |
bdrv_close(exp->bs); |
|
725 | 724 |
g_free(exp); |
726 | 725 |
} |
727 | 726 |
|
b/qemu-nbd.c | ||
---|---|---|
586 | 586 |
} while (!sigterm_reported && (persistent || !nbd_started || nb_fds > 0)); |
587 | 587 |
|
588 | 588 |
nbd_export_close(exp); |
589 |
bdrv_close(bs); |
|
589 | 590 |
if (sockpath) { |
590 | 591 |
unlink(sockpath); |
591 | 592 |
} |
Also available in: Unified diff