st/oxr: Destroy client compositor when session is destroyed

Fixes #99
This commit is contained in:
Jakob Bornecrantz 2020-10-04 12:56:43 +01:00
parent 9dd8bfef28
commit 02b33c668b

View file

@ -1870,6 +1870,8 @@ oxr_session_destroy(struct oxr_logger *log, struct oxr_handle_base *hb)
u_hashmap_int_destroy(&sess->act_sets_attachments_by_key);
u_hashmap_int_destroy(&sess->act_attachments_by_key);
xrt_comp_destroy(&sess->compositor);
free(sess);
return ret;