summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/infopanel.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/TabSRMM/src/infopanel.h')
-rw-r--r--plugins/TabSRMM/src/infopanel.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/TabSRMM/src/infopanel.h b/plugins/TabSRMM/src/infopanel.h
index 86caf2b1a9..d17a5220a2 100644
--- a/plugins/TabSRMM/src/infopanel.h
+++ b/plugins/TabSRMM/src/infopanel.h
@@ -77,8 +77,7 @@ public:
CTip (const HWND hwndParent, const HANDLE hContact, const TCHAR *pszText = 0, const CInfoPanel *panel = 0);
~CTip()
{
- if (m_pszText)
- mir_free(m_pszText);
+ mir_free(m_pszText);
}
void show (const RECT& rc, POINT& pt, const HICON hIcon = 0, const TCHAR *szTitle = 0);
const HWND getHwnd () const { return(m_hwnd); }