Skip to content

Commit dfc75f4

Browse files
committed
modify:time str memory leak
1 parent 5e56bad commit dfc75f4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎XEngine_Module/XEngine_MSGNotify/MSGNotify_SMS/MSGNotify_SMS.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ bool CMSGNotify_SMS::MSGNotify_SMS_SendTencent(LPCXSTR lpszAPIUrl, LPCXSTR lpszS
107107
}
108108

109109
__int64u m_nTime = time(NULL);
110-
XCHAR tszTimeStr[32] = {};
110+
XCHAR tszTimeStr[64] = {};
111111
MSGNotify_SMS_UTCTime((time_t)m_nTime, tszTimeStr);
112112
// ************* 拼接规范请求串 *************
113113
LPCXSTR lpszHTTPMethod = "POST";

0 commit comments

Comments
 (0)