st/oxr: Initialize action set session pointer

Fixes a segfault in OXR_VERIFY_ACTION_AND_INIT_LOG
This commit is contained in:
Benjamin Saunders 2019-04-13 08:51:38 -07:00 committed by Jakob Bornecrantz
parent 9b774cbd72
commit 1da5cd9914

View file

@ -143,6 +143,7 @@ oxr_xrCreateActionSet(XrSession session,
struct oxr_action_set* act_set = NULL;
OXR_ALLOCATE_HANDLE_OR_RETURN(&log, act_set, OXR_XR_DEBUG_ACTIONSET,
oxr_action_set_destroy, &sess->handle);
act_set->sess = sess;
*actionSet = (XrActionSet)act_set;