Commit 570ba1ae authored by Benjamin Saunders's avatar Benjamin Saunders

st/oxr: Initialize action act_set pointer

Fixes a segfault in OXR_VERIFY_ACTION_AND_INIT_LOG
parent bc770524
Pipeline #32595 passed with stages
in 57 seconds
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment