fix memory leak in check for media switch

This commit is contained in:
WarmUpTill 2020-06-04 20:35:36 +02:00
parent 5082f5944e
commit 9f03264672

View File

@ -118,5 +118,6 @@ void SwitcherData::checkMediaSwitch(bool &match, OBSWeakSource &scene,
transition = mediaSwitch.transition;
}
mediaSwitch.matched = matched;
obs_source_release(source);
}
}