Skip to content
New issue

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

存在内存泄露 #8

Closed
hyh-qz opened this issue Jun 15, 2021 · 2 comments
Closed

存在内存泄露 #8

hyh-qz opened this issue Jun 15, 2021 · 2 comments

Comments

@hyh-qz
Copy link

hyh-qz commented Jun 15, 2021

void Raphael::start(JNIEnv *env, jobject obj, jint configs, jstring space, jstring regex) {
mSpace = (char *) env->GetStringUTFChars(space, 0);
其他省略
}

mSpace 并没有释放,导致内存泄露

@shentianzhou
Copy link
Collaborator

我们最近优化下儿

@shentianzhou
Copy link
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants