Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f44d4999 authored by Elliott Hughes's avatar Elliott Hughes Committed by Android Git Automerger
Browse files

am 19597647: am ff6b0e24: am f1896106: Merge "Fixed VM memory leak in AudioSystem JNI interface"

* commit '19597647':
  Fixed VM memory leak in AudioSystem JNI interface
parents 53ad2a15 19597647
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -287,6 +287,8 @@ android_media_AudioSystem_error_callback(status_t err)
    env->CallStaticVoidMethod(clazz, env->GetStaticMethodID(clazz,
                              "errorCallbackFromNative","(I)V"),
                              check_AudioSystem_Command(err));

    env->DeleteLocalRef(clazz);
}

static jint