diff options
Diffstat (limited to 'plugins/Dbx_tree/src/Logger.cpp')
-rw-r--r-- | plugins/Dbx_tree/src/Logger.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/Dbx_tree/src/Logger.cpp b/plugins/Dbx_tree/src/Logger.cpp index 7b732b6cfd..79b7bedd72 100644 --- a/plugins/Dbx_tree/src/Logger.cpp +++ b/plugins/Dbx_tree/src/Logger.cpp @@ -119,7 +119,6 @@ void CLogger::MessageBoxAsync(void * MsgBoxParams) {
MSGBOXPARAMS* p = reinterpret_cast<MSGBOXPARAMS*>(MsgBoxParams);
MessageBoxIndirect(p);
- if (p->lpszText)
- delete [] p->lpszText;
+ delete [] p->lpszText;
delete p;
}
\ No newline at end of file |