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

This commit is contained in:
Paul Sokolovsky 2015-09-26 08:50:37 -07:00
parent c0a79cc919
commit 81d64ab939
1 changed files with 1 additions and 1 deletions

View File

@ -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);