summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bootstat/bootstat.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/bootstat/bootstat.cpp b/bootstat/bootstat.cpp
index f8eaa1cd3..8916c598a 100644
--- a/bootstat/bootstat.cpp
+++ b/bootstat/bootstat.cpp
@@ -508,7 +508,6 @@ std::string BootReasonStrToReason(const std::string& boot_reason) {
android::base::ReadFdToString(fileno(fp), &content);
}
android_logcat_pclose(&ctx, fp);
- android_logcat_destroy(&ctx);
static const char logcat_battery[] = "W/healthd ( 0): battery l=";
const char* match = logcat_battery;