mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-07-19 17:49:14 +00: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:
parent
afd58a78e5
commit
a668e01788
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue