提交 118e3edd 编写于 作者: J jp9000

Remove unnecessary tests to delete

The delete operator can be called on a null pointer, so there's no
reason for these tests.
上级 41f1ad32
......@@ -550,9 +550,7 @@ OBSBasic::~OBSBasic()
* can be freed, and we have no control over the destruction order of
* the Qt UI stuff, so we have to manually clear any references to
* libobs. */
if (properties)
delete properties;
if (transformWindow)
delete transformWindow;
ClearVolumeControls();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册