Merge "Fix drm hal resource leaks" into oc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
63398bbd71
@@ -51,6 +51,9 @@ JCrypto::JCrypto(
|
||||
}
|
||||
|
||||
JCrypto::~JCrypto() {
|
||||
if (mCrypto != NULL) {
|
||||
mCrypto->destroyPlugin();
|
||||
}
|
||||
mCrypto.clear();
|
||||
|
||||
JNIEnv *env = AndroidRuntime::getJNIEnv();
|
||||
|
||||
Reference in New Issue
Block a user