diff --git a/src/media-switch.cpp b/src/media-switch.cpp index 8545c591..2b392f2c 100644 --- a/src/media-switch.cpp +++ b/src/media-switch.cpp @@ -118,5 +118,6 @@ void SwitcherData::checkMediaSwitch(bool &match, OBSWeakSource &scene, transition = mediaSwitch.transition; } mediaSwitch.matched = matched; + obs_source_release(source); } }