mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-04 10:19:33 +02:00
fixed memory leak
This commit is contained in:
parent
434f6afb44
commit
0268ebfe47
1 changed files with 1 additions and 0 deletions
|
@ -38,6 +38,7 @@ JNIEXPORT jobjectArray JNICALL Java_org_geometerplus_fbreader_formats_PluginColl
|
|||
javaPlugins, i,
|
||||
env->NewObject(cls, AndroidUtil::MID_NativeFormatPlugin_init, fileType)
|
||||
);
|
||||
env->DeleteLocalRef(fileType);
|
||||
}
|
||||
return javaPlugins;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue