aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
Diffstat (limited to 'hw')
-rw-r--r--hw/9pfs/virtio-9p.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/9pfs/virtio-9p.c b/hw/9pfs/virtio-9p.c
index 91e0957512..1f186a25fb 100644
--- a/hw/9pfs/virtio-9p.c
+++ b/hw/9pfs/virtio-9p.c
@@ -2696,6 +2696,7 @@ out_nofid:
err = offset;
err += pdu_marshal(pdu, offset, "b", status);
complete_pdu(s, pdu, err);
+ v9fs_string_free(&flock->client_id);
g_free(flock);
}
@@ -2736,6 +2737,7 @@ out:
put_fid(s, fidp);
out_nofid:
complete_pdu(s, pdu, err);
+ v9fs_string_free(&glock->client_id);
g_free(glock);
}