From c5be633b829e83a308eb9537e67d3318ec86b084 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 15 Jun 2022 15:34:07 +0300 Subject: UInfoEx: - fix for custom page trees; - random crash fix; - code cleaning --- plugins/UserInfoEx/src/dlg_propsheet.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/UserInfoEx/src/dlg_propsheet.cpp') diff --git a/plugins/UserInfoEx/src/dlg_propsheet.cpp b/plugins/UserInfoEx/src/dlg_propsheet.cpp index e254162217..cdfcb19319 100644 --- a/plugins/UserInfoEx/src/dlg_propsheet.cpp +++ b/plugins/UserInfoEx/src/dlg_propsheet.cpp @@ -335,7 +335,7 @@ static INT_PTR AddPage(WPARAM wParam, LPARAM lParam) CPsTreeItem *pNew = new CPsTreeItem(); if (pNew) { if (pNew->Create(pPsh, uip)) { - MIR_DELETE(pNew); + delete pNew; return 1; } -- cgit v1.2.3