Skip to content

Commit

Permalink
Merge pull request #17 from 3155801/patch-3
Browse files Browse the repository at this point in the history
Update api.h
  • Loading branch information
kanrichan authored Jun 8, 2021
2 parents d4e1364 + 4a2f1fd commit 480e3cc
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions core/xianqu/api.h
Original file line number Diff line number Diff line change
Expand Up @@ -952,10 +952,10 @@ void S3_Api_Mark(char *text){
// jsonData Json结构 文本型 Json结构内容
void S3_Api_SendJSON(char *selfID, int anonymous, int messageType, char *groupID, char *userID, char *jsonData){
S3_Api_SendJSON_Ptr(authid, selfID, anonymous, messageType, groupID, userID, jsonData);
free(selfID);
free(groupID);
free(userID);
free(jsonData);
// free(selfID);
// free(groupID);
// free(userID);
// free(jsonData);

}

Expand All @@ -969,10 +969,10 @@ void S3_Api_SendJSON(char *selfID, int anonymous, int messageType, char *groupID
// nothing NULL 整数型 无
void S3_Api_SendXML(char *selfID, int anonymous, int messageType, char *groupID, char *userID, char *xmlData, int nothing){
S3_Api_SendXML_Ptr(authid, selfID, anonymous, messageType, groupID, userID, xmlData, nothing);
free(selfID);
free(groupID);
free(userID);
free(xmlData);
// free(selfID);
// free(groupID);
// free(userID);
// free(xmlData);

}

Expand Down Expand Up @@ -1173,11 +1173,11 @@ int S3_Api_ShakeWindow(char *selfID, char *userID){
// jsonData 附加JSON参数 文本型 以后信息发送参数增加都是依靠这个json文本
char *S3_Api_SendMsgEX_V2(char *selfID, int messageType, char *groupID, char *userID, char *message, int bubble, int anonymous, char *jsonData){
char *ret = S3_Api_SendMsgEX_V2_Ptr(authid, selfID, messageType, groupID, userID, message, bubble, anonymous, jsonData);
free(selfID);
free(groupID);
free(userID);
free(message);
free(jsonData);
// free(selfID);
// free(groupID);
// free(userID);
// free(message);
// free(jsonData);
return fix_str(ret);
}

Expand Down

0 comments on commit 480e3cc

Please sign in to comment.