diff --git a/UI/qt-wrappers.cpp b/UI/qt-wrappers.cpp index 4750cf1f9..b9d00a787 100644 --- a/UI/qt-wrappers.cpp +++ b/UI/qt-wrappers.cpp @@ -169,6 +169,7 @@ QDataStream &operator>>(QDataStream &in, OBSScene &scene) obs_source_t *source = obs_get_source_by_name(QT_TO_UTF8(sceneName)); scene = obs_scene_from_source(source); + obs_source_release(source); return in; }