mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-03-04 14:46:09 -05:00
UI: Fix minor leak
The authors of this function didn't realize that the data object returned from obs_service_get_settings() is incremented, and must be released.
This commit is contained in:
@@ -6162,6 +6162,8 @@ void OBSBasic::YouTubeActionDialogOk(const QString &id, const QString &key,
|
||||
obs_service_update(service_obj, settings);
|
||||
autoStartBroadcast = autostart;
|
||||
autoStopBroadcast = autostop;
|
||||
|
||||
obs_data_release(settings);
|
||||
}
|
||||
|
||||
void OBSBasic::YoutubeStreamCheck(const std::string &key)
|
||||
|
||||
Reference in New Issue
Block a user