summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/TabSRMM/src/msgs.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/TabSRMM/src/msgs.cpp b/plugins/TabSRMM/src/msgs.cpp
index afe1c7d294..0b88f1ef4a 100644
--- a/plugins/TabSRMM/src/msgs.cpp
+++ b/plugins/TabSRMM/src/msgs.cpp
@@ -115,6 +115,9 @@ static INT_PTR GetWindowData(WPARAM wParam, LPARAM lParam)
// service function. Sets a status bar text for a contact
static void SetStatusTextWorker(TWindowData *dat, StatusTextData *st)
{
+ if (!dat)
+ return;
+
// delete old custom data
if (dat->sbCustom) {
delete dat->sbCustom;