mirror of
https://github.com/Aitum/obs-aitum-multistream.git
synced 2024-11-25 03:33:28 +01:00
Fix memory leak settings dialog
This commit is contained in:
parent
efc4d296f8
commit
b72b3e5b95
@ -205,7 +205,11 @@ OBSBasicSettings::OBSBasicSettings(QMainWindow *parent) : QDialog(parent)
|
||||
setLayout(vlayout);
|
||||
}
|
||||
|
||||
OBSBasicSettings::~OBSBasicSettings() {}
|
||||
OBSBasicSettings::~OBSBasicSettings()
|
||||
{
|
||||
for (auto it = video_encoder_properties.begin(); it != video_encoder_properties.end(); it++)
|
||||
obs_properties_destroy(it->second);
|
||||
}
|
||||
|
||||
QIcon OBSBasicSettings::GetGeneralIcon() const
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user