mirror of
https://github.com/libretro/RetroArch
synced 2025-01-31 15:32:59 +00:00
Merge pull request #11784 from Tatsuya79/patch-4
qt: attempt to fix memory leak in shader panel
This commit is contained in:
commit
c01b2dea17
@ -166,7 +166,7 @@ void ShaderParamsDialog::clearLayout()
|
||||
if (m_scrollArea)
|
||||
{
|
||||
foreach (QObject *obj, children())
|
||||
obj->deleteLater();
|
||||
delete obj;
|
||||
}
|
||||
|
||||
m_layout = new QVBoxLayout();
|
||||
|
Loading…
x
Reference in New Issue
Block a user