提交 9f2566fe 编写于 作者: P Palana

UI: Fix memory leak when saving stream settings

SetService started using addref in
71abed38, so we have to release
the extra reference here
上级 99db4d75
......@@ -1870,6 +1870,7 @@ void OBSBasicSettings::SaveStream1Settings()
main->SetService(newService);
main->SaveService();
obs_service_release(newService);
}
void OBSBasicSettings::SaveVideoSettings()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册