We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
if (cryptStatus == kCCSuccess) { // 这个return后,下面的free就不会执行了 return [NSData dataWithBytesNoCopy:operationBytes length:actualOutSize]; } free(operationBytes); operationBytes = NULL; return nil;
The text was updated successfully, but these errors were encountered:
调用 dataWithBytesNoCopy 后不需要 free,原因参见苹果文档
Sorry, something went wrong.
No branches or pull requests
if (cryptStatus == kCCSuccess) {
// 这个return后,下面的free就不会执行了
return [NSData dataWithBytesNoCopy:operationBytes length:actualOutSize];
}
free(operationBytes);
operationBytes = NULL;
return nil;
The text was updated successfully, but these errors were encountered: