You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Set the delete-on-close attribute via diag->setAttribute(Qt::WA_DeleteOnClose);
Many dialogs in qtFRED are allocated with new but never freed with delete, causing memory leaks until the program is closed. Adding delete-on-close should fix the memory leaks, according to what I've found by searching online.
The text was updated successfully, but these errors were encountered:
From PR #6322:
Many dialogs in qtFRED are allocated with
new
but never freed withdelete
, causing memory leaks until the program is closed. Adding delete-on-close should fix the memory leaks, according to what I've found by searching online.The text was updated successfully, but these errors were encountered: