You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Xcode profile tool detects memory leaks in this method, which causes continuous memory growth and overheating of the phone. I hope you can optimize this issue when you have time. Thank you!
`char *string=ptr[2];
if (string!=NULL) {
std::string str(string);
size_t f=str.find("%20");
while (f != std::string::npos) {
str.replace(f, std::string("%20").length(), " ");
f=str.find("%20");
}
char *file= new char[str.size()+1];
sprintf(file, "%s",str.c_str());
ptr[2]=file;
}
`
The text was updated successfully, but these errors were encountered:
**fileName: param
methodName: bool Param::open(const char arg, const Option opts)
The Xcode profile tool detects memory leaks in this method, which causes continuous memory growth and overheating of the phone. I hope you can optimize this issue when you have time. Thank you!
`char *string=ptr[2];
if (string!=NULL) {
std::string str(string);
size_t f=str.find("%20");
}
`
The text was updated successfully, but these errors were encountered: