Merge tag 'LA.QSSI.14.0.r1-13400-qssi.0' into staging/lineage-21.0_merge-LA.QSSI.14.0.r1-13400-qssi.0
"LA.QSSI.14.0.r1-13400-qssi.0"
# By Satish Kumar Kodishala
# Via Linux Build Service Account (1) and Satish Kumar Kodishala (1)
* tag 'LA.QSSI.14.0.r1-13400-qssi.0':
Assign pointer with null after use
Change-Id: I112fadf0da0f12c1884bd31895a2705c394b4cdc
diff --git a/jni/android_hardware_fm.cpp b/jni/android_hardware_fm.cpp
index c7d4463..bdaceae 100644
--- a/jni/android_hardware_fm.cpp
+++ b/jni/android_hardware_fm.cpp
@@ -408,6 +408,7 @@
return;
}
vm->DetachCurrentThread();
+ mCallbackEnv = NULL;
}
}