Ryan Foster
dbdf82da80
UI: Fix memory leak with Manage Broadcast dialog
...
When OBS has been connected to a YouTube account, the Manage Broadcast
dialog becomes available. Opening and closing this dialog leaks about
2-3 MB of memory each time. This happens because the dialog is never
deleted, and a new object is created every time the dialog opens.
If we set Qt::WA_DeleteOnClose on the dialog, then the dialog->exec()
call would call delete this. However, if the dialog->Valid() call
returned false (this should currently be impossible), then exec is never
called, so it would not clean up.
To fix this, make the dialog stack-allocated instead of using new and
delete.
Detected by clang-analyzer.
2022-05-16 22:46:50 +02:00
..
2022-05-06 06:11:25 -07:00
2022-05-14 16:11:07 -07:00
2022-04-02 16:04:51 -07:00
2022-04-23 16:12:45 -07:00
2021-10-10 17:19:10 +11:00
2022-03-16 23:11:58 +01:00
2022-03-16 23:11:58 +01:00
2022-03-16 23:11:58 +01:00
2022-05-14 16:36:00 -07:00
2022-05-14 16:36:00 -07:00
2022-03-10 06:27:18 -08:00
2022-03-13 07:05:02 -07:00
2022-03-13 07:05:02 -07:00
2021-09-12 13:45:51 +02:00
2021-09-12 13:45:51 +02:00
2021-09-16 15:03:28 +02:00
2021-09-15 06:16:29 -07:00
2022-05-04 01:37:10 -07:00
2021-12-01 18:53:11 +11:00
2021-12-11 14:39:19 -08:00
2021-12-11 14:39:19 -08:00
2022-05-04 01:37:10 -07:00
2021-09-17 02:59:21 -07:00
2022-05-11 23:37:41 -07:00
2022-02-20 00:30:37 -08:00
2022-02-20 00:30:37 -08:00
2022-01-05 23:56:34 -08:00
2022-01-05 23:56:34 -08:00
2022-04-10 11:52:11 +10:00
2022-04-10 11:52:11 +10:00
2022-02-20 00:30:37 -08:00
2022-02-20 00:30:37 -08:00
2022-05-08 06:47:09 +02:00
2022-01-22 15:14:16 -08:00
2022-04-02 16:04:51 -07:00
2022-04-02 16:04:51 -07:00
2022-03-16 23:11:58 +01:00
2022-03-19 15:13:00 -07:00
2022-03-19 15:13:00 -07:00
2022-03-19 15:13:00 -07:00
2022-03-19 15:13:00 -07:00
2022-04-02 16:04:51 -07:00
2022-03-09 13:12:17 -08:00
2022-04-23 16:12:45 -07:00
2022-02-26 01:09:07 -08:00
2022-03-05 15:59:30 -08:00
2022-03-05 15:59:30 -08:00
2022-03-24 17:10:01 -07:00
2021-09-15 07:44:55 +02:00
2022-01-04 01:54:38 -08:00
2022-04-24 12:09:38 -07:00
2022-04-18 17:46:07 -07:00
2022-04-18 17:46:07 -07:00
2022-03-16 23:11:58 +01:00
2022-01-19 21:39:43 +01:00
2022-01-19 21:39:43 +01:00
2022-04-17 11:54:50 +10:00
2022-02-27 13:17:59 +11:00
2022-03-16 23:11:58 +01:00
2021-12-22 02:43:14 -08:00
2022-05-06 06:11:25 -07:00
2022-04-18 12:27:29 -07:00
2022-04-18 12:27:29 -07:00
2022-04-23 16:12:45 -07:00
2022-02-26 01:09:07 -08:00
2022-04-23 16:12:45 -07:00
2022-02-26 01:09:07 -08:00
2022-05-08 15:25:43 -07:00
2022-05-06 20:58:09 -07:00
2022-04-10 16:49:37 -07:00
2022-03-08 11:17:59 -08:00
2022-05-16 21:51:01 +02:00
2022-03-24 23:51:10 -07:00
2022-05-16 22:46:50 +02:00
2022-04-16 16:47:44 -07:00
2022-01-07 15:18:59 -08:00
2021-11-26 23:23:51 +13:00
2022-04-23 16:12:45 -07:00
2022-04-10 11:52:11 +10:00
2022-04-18 12:27:29 -07:00
2022-05-06 06:11:25 -07:00
2022-04-18 12:27:29 -07:00
2022-04-02 16:02:41 -07:00
2021-11-10 14:22:45 -08:00
2021-11-26 23:23:51 +13:00
2021-12-16 23:38:59 -08:00
2021-11-10 06:08:48 -08:00
2022-03-22 22:24:23 -07:00
2022-03-22 22:24:23 -07:00
2021-11-26 23:23:51 +13:00
2021-10-03 07:52:44 -07:00
2022-03-10 12:15:30 -08:00
2022-03-08 12:30:19 -08:00
2022-04-07 01:52:02 -07:00
2021-09-15 00:26:56 -07:00
2021-11-04 06:25:52 -07:00
2022-04-30 16:06:23 -07:00
2021-10-13 12:27:47 +02:00