renderer: switch to context 0 before destroy sub
If the current context is one of the subcontext to be destroyed,
vrend_destroy_sub_context() will fail after the last context is
destroyed.
Found thanks to amaerican fuzzy lop.
Signed-off-by:
Marc-André Lureau <marcandre.lureau@redhat.com>
Showing
Please register or sign in to comment