The open source OpenXR runtime
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

st/oxr: destroy dpad when destroying profiles

Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2423>

authored by

Simon Zeni and committed by
Rylie Pavlik
6af7ad99 fdf4986a

+7
+7
src/xrt/state_trackers/oxr/oxr_binding.c
··· 539 539 b->output = 0; 540 540 } 541 541 542 + for (size_t y = 0; y < p->dpad_count; ++y) { 543 + struct oxr_dpad_emulation *d = &p->dpads[y]; 544 + free(d->paths); 545 + } 546 + 542 547 free(p->bindings); 543 548 p->bindings = NULL; 544 549 p->binding_count = 0; 550 + 551 + free(p->dpads); 545 552 546 553 oxr_dpad_state_deinit(&p->dpad_state); 547 554