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:
jp9000 2021-08-20 18:47:24 -07:00
parent afd58a78e5
commit a668e01788

View file

@ -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)