Skip to content

Commit

Permalink
Merge pull request #11784 from Tatsuya79/patch-4
Browse files Browse the repository at this point in the history
qt: attempt to fix memory leak in shader panel
  • Loading branch information
inactive123 authored Dec 30, 2020
2 parents c4dc283 + 2e52c9e commit c01b2de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/drivers/qt/shaderparamsdialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ void ShaderParamsDialog::clearLayout()
if (m_scrollArea)
{
foreach (QObject *obj, children())
obj->deleteLater();
delete obj;
}

m_layout = new QVBoxLayout();
Expand Down

0 comments on commit c01b2de

Please sign in to comment.