Skip to content
Snippets Groups Projects
Commit 2b9ceb84 authored by Kamal Negi's avatar Kamal Negi Committed by Gerrit - the friendly Code Review server
Browse files

FM: Fix static analysis issue

Change-Id: Iac42f8f4f1f90c2c5860d90068e09d01638bff80
parent 743a3e78
No related branches found
No related tags found
No related merge requests found
...@@ -634,6 +634,7 @@ static jint android_hardware_fmradio_FmReceiverJNI_acquireFdNative ...@@ -634,6 +634,7 @@ static jint android_hardware_fmradio_FmReceiverJNI_acquireFdNative
snprintf(versionStr, sizeof(versionStr), "%d", cap.version); snprintf(versionStr, sizeof(versionStr), "%d", cap.version);
property_set("hw.fm.version", versionStr); property_set("hw.fm.version", versionStr);
} else { } else {
close(fd);
return FM_JNI_FAILURE; return FM_JNI_FAILURE;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment