d/vive: Make sure to free the source

This commit is contained in:
Jakob Bornecrantz 2022-09-22 00:41:05 +01:00
parent 45e52dee8f
commit 5c958d096d

View file

@ -177,6 +177,8 @@ vive_source_node_destroy(struct xrt_frame_node *node)
struct vive_source *vs = container_of(node, struct vive_source, node);
os_mutex_destroy(&vs->frame_timestamps_lock);
u_deque_timepoint_ns_destroy(&vs->frame_timestamps);
free(vs);
}