Commit 81d64ab9 authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

unix/modjni: call_method(): If name doesn't match, cleanup via goto next_method.

parent c0a79cc9
......@@ -332,7 +332,7 @@ STATIC mp_obj_t call_method(jobject obj, const char *name, jarray methods, bool
int name_len = strlen(name);
if (strncmp(name, meth_name, name_len/*arg_types - meth_name - 1*/) || meth_name[name_len] != '('/*(*/) {
continue;
goto next_method;
}
}
// printf("method[%d]=%p %s\n", i, meth, decl);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment