summaryrefslogtreecommitdiff
path: root/src/mir_app/src/chat_svc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mir_app/src/chat_svc.cpp')
-rw-r--r--src/mir_app/src/chat_svc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mir_app/src/chat_svc.cpp b/src/mir_app/src/chat_svc.cpp
index 3387d9d7b9..b697ce1cb4 100644
--- a/src/mir_app/src/chat_svc.cpp
+++ b/src/mir_app/src/chat_svc.cpp
@@ -224,7 +224,7 @@ MIR_APP_DLL(SESSION_INFO*) Chat_NewSession(
}
// create a new session
- si = g_chatApi.SM_CreateSession();
+ si = new SESSION_INFO();
si->ptszID = mir_wstrdup(ptszID);
si->pszModule = mir_strdup(pszModule);
si->pMI = mi;