diff --git a/plugins/obs-transitions/transition-stinger.c b/plugins/obs-transitions/transition-stinger.c index a0cc70f91..13eca519c 100644 --- a/plugins/obs-transitions/transition-stinger.c +++ b/plugins/obs-transitions/transition-stinger.c @@ -200,11 +200,14 @@ static void stinger_destroy(void *data) obs_source_release(s->media_source); obs_source_release(s->matte_source); + obs_enter_graphics(); + gs_texrender_destroy(s->matte_tex); gs_texrender_destroy(s->stinger_tex); - gs_effect_destroy(s->matte_effect); + obs_leave_graphics(); + bfree(s); }