summaryrefslogtreecommitdiff
path: root/plugins/UserInfoEx/src/dlg_propsheet.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2022-06-15 15:34:07 +0300
committerGeorge Hazan <ghazan@miranda.im>2022-06-15 15:34:07 +0300
commitc5be633b829e83a308eb9537e67d3318ec86b084 (patch)
tree21896374fc7aa27f9df1b65336f6abaa3914c069 /plugins/UserInfoEx/src/dlg_propsheet.cpp
parent65171c0d60c0846affe796b9e22d4f005ef82bee (diff)
UInfoEx:
- fix for custom page trees; - random crash fix; - code cleaning
Diffstat (limited to 'plugins/UserInfoEx/src/dlg_propsheet.cpp')
-rw-r--r--plugins/UserInfoEx/src/dlg_propsheet.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}