diff options
Diffstat (limited to 'block')
-rw-r--r-- | block/iscsi.c | 1 | ||||
-rw-r--r-- | block/nbd.c | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/block/iscsi.c b/block/iscsi.c index 75d890538e..716e74abba 100644 --- a/block/iscsi.c +++ b/block/iscsi.c @@ -103,7 +103,6 @@ typedef struct IscsiTask { typedef struct IscsiAIOCB { BlockAIOCB common; - QEMUIOVector *qiov; QEMUBH *bh; IscsiLun *iscsilun; struct scsi_task *task; diff --git a/block/nbd.c b/block/nbd.c index 8bb29a90bb..814ab26dce 100644 --- a/block/nbd.c +++ b/block/nbd.c @@ -322,6 +322,7 @@ static QIOChannelSocket *nbd_establish_connection(SocketAddressFlat *saddr_flat, &local_err); qapi_free_SocketAddress(saddr); if (local_err) { + object_unref(OBJECT(sioc)); error_propagate(errp, local_err); return NULL; } |