Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
block: Fix Transaction leak in bdrv_root_attach_child()
The error path needs to call tran_finalize(), too. Fixes: CID 1452773 Fixes: 548a74c Signed-off-by: Kevin Wolf <kwolf@redhat.com> Message-Id: <20210503110555.24001-2-kwolf@redhat.com> Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Reviewed-by: Max Reitz <mreitz@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
- Loading branch information