st/oxr: Initialize action act_set pointer

Fixes a segfault in OXR_VERIFY_ACTION_AND_INIT_LOG
This commit is contained in:
Benjamin Saunders 2019-04-22 09:19:59 -07:00
parent bc77052493
commit 570ba1ae88

View file

@ -199,6 +199,7 @@ oxr_xrCreateAction(XrActionSet actionSet,
struct oxr_action* act = NULL;
OXR_ALLOCATE_HANDLE_OR_RETURN(&log, act, OXR_XR_DEBUG_ACTION,
oxr_action_destroy, &act_set->handle);
act->act_set = act_set;
*action = (XrAction)act;
return XR_SUCCESS;