diff options
author | John Levon <john.levon@nutanix.com> | 2021-02-01 14:46:21 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-01 14:46:21 +0000 |
commit | aa6fc6f2e628d8008bada973644fb56b7ee31366 (patch) | |
tree | 774192bad8ee59c6948b6abd385d0afdc01eb218 /samples/lspci.c | |
parent | 4efc5a32b92421bc493d83ce9958c41fb79e9ad5 (diff) | |
download | libvfio-user-aa6fc6f2e628d8008bada973644fb56b7ee31366.zip libvfio-user-aa6fc6f2e628d8008bada973644fb56b7ee31366.tar.gz libvfio-user-aa6fc6f2e628d8008bada973644fb56b7ee31366.tar.bz2 |
samples/lspci: free vfu context (#293)
Signed-off-by: John Levon <john.levon@nutanix.com>
Reviewed-by: Swapnil Ingle <swapnil.ingle@nutanix.com>
Diffstat (limited to 'samples/lspci.c')
-rw-r--r-- | samples/lspci.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/samples/lspci.c b/samples/lspci.c index 358fefe..1a25ff6 100644 --- a/samples/lspci.c +++ b/samples/lspci.c @@ -115,6 +115,8 @@ int main(void) printf("\n"); } + vfu_destroy_ctx(vfu_ctx); + return 0; } |