diff options
| author | Juan Linietsky | 2015-04-28 09:38:07 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2015-04-28 09:38:07 -0300 |
| commit | c6dce44dd85c4ebae791756a76f6afbfbb0a5c28 (patch) | |
| tree | c7a77094103f8d0025e64c8ef7657b078e469fd9 /platform/android/file_access_jandroid.cpp | |
| parent | 0adca0a7c9e44177df4cefd1f414359a4edb419b (diff) | |
| download | godot-c6dce44dd85c4ebae791756a76f6afbfbb0a5c28.tar.gz godot-c6dce44dd85c4ebae791756a76f6afbfbb0a5c28.tar.zst godot-c6dce44dd85c4ebae791756a76f6afbfbb0a5c28.zip | |
Diffstat (limited to 'platform/android/file_access_jandroid.cpp')
| -rw-r--r-- | platform/android/file_access_jandroid.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/platform/android/file_access_jandroid.cpp b/platform/android/file_access_jandroid.cpp index 2e3dd8289..971d4f84a 100644 --- a/platform/android/file_access_jandroid.cpp +++ b/platform/android/file_access_jandroid.cpp @@ -67,7 +67,6 @@ Error FileAccessJAndroid::_open(const String& p_path, int p_mode_flags) { jstring js = env->NewStringUTF(path.utf8().get_data()); int res = env->CallIntMethod(io,_file_open,js,p_mode_flags&WRITE?true:false); - env->DeleteLocalRef(js); if (res<=0) |
