diff options
author | John Levon <john.levon@nutanix.com> | 2021-03-22 16:58:14 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-22 16:58:14 +0000 |
commit | 8ba55dfb9bb54b773513e78d87d9ebe078384573 (patch) | |
tree | 271dd06dec57e1d0702251db1d6cc05fea27006b /samples | |
parent | 3c33c863a178dbb656c835a000df0defdbaa1a9d (diff) | |
download | libvfio-user-8ba55dfb9bb54b773513e78d87d9ebe078384573.zip libvfio-user-8ba55dfb9bb54b773513e78d87d9ebe078384573.tar.gz libvfio-user-8ba55dfb9bb54b773513e78d87d9ebe078384573.tar.bz2 |
fix vfu_ctx_create() error path (#393)
The ->detach() and ->fini() transport handlers can't presume ->tran_data is set,
since we cleanup a failed vfu_create_ctx() with vfu_destroy_ctx().
Signed-off-by: John Levon <john.levon@nutanix.com>
Reviewed-by: Swapnil Ingle <swapnil.ingle@nutanix.com>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions