The open source OpenXR runtime

st/gui: Release frames when cant upload to ogl sink

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

authored by

Beyley Cardellio and committed by
Marge Bot
ca895cc4 6a74ec58

+1
+1
src/xrt/state_trackers/gui/gui_ogl_sink.c
··· 142 142 // Too large of stride for GLint. 143 143 if (frame->stride > INT_MAX) { 144 144 U_LOG_E("Stride unreasonably large!"); 145 + xrt_frame_reference(&frame, NULL); 145 146 return; 146 147 } 147 148