aboutsummaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorJohn Levon <john.levon@nutanix.com>2021-06-01 14:59:14 +0100
committerGitHub <noreply@github.com>2021-06-01 14:59:14 +0100
commit96ec963075e721c939441eaf0b92ea2a24b65668 (patch)
tree05765cd64898694fba22cb795bdfafd0c4d5cde1 /samples
parent30c7ef2f8c75a95f3ab78a908e3b7adc2cc4bedc (diff)
downloadlibvfio-user-96ec963075e721c939441eaf0b92ea2a24b65668.zip
libvfio-user-96ec963075e721c939441eaf0b92ea2a24b65668.tar.gz
libvfio-user-96ec963075e721c939441eaf0b92ea2a24b65668.tar.bz2
samples/client: free bitmap data (#547)
Signed-off-by: John Levon <john.levon@nutanix.com> Reviewed-by: Thanos Makatos <thanos.makatos@nutanix.com>
Diffstat (limited to 'samples')
-rw-r--r--samples/client.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/samples/client.c b/samples/client.c
index dd73dbd..8595f2e 100644
--- a/samples/client.c
+++ b/samples/client.c
@@ -674,6 +674,8 @@ get_dirty_bitmap(int sock, struct vfio_user_dma_map *dma_region)
printf("client: %s: %#lx-%#lx\t%#x\n", __func__, range->iova,
range->iova + range->size - 1, bitmap[0]);
+
+ free(data);
}
enum migration {