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

Commit 2ee27bfd authored by Ting-Yuan Huang's avatar Ting-Yuan Huang Committed by android-build-merger
Browse files

Merge "Suppress false-positive static analyzer warnings"

am: 0c89aaec

Change-Id: Ifa3e4010ee1ce152f17bdc14f4e73d647c05a76a
parents 221d3b4c 0c89aaec
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -222,6 +222,7 @@ static int LogBufferLog(struct LogBuffer* log,
      log->last[logId] = node->prev;
    }
    list_remove(node);
    LOG_ALWAYS_FATAL_IF(node == log->last[logId], "corrupted list");
    free(e);
  }
  /* add entry to list */
+1 −0
Original line number Diff line number Diff line
@@ -250,6 +250,7 @@ LIBLOG_ABI_PUBLIC void android_log_format_free(AndroidLogFormat* p_format) {
  while (!list_empty(&convertHead)) {
    struct listnode* node = list_head(&convertHead);
    list_remove(node);
    LOG_ALWAYS_FATAL_IF(node == list_head(&convertHead), "corrupted list");
    free(node);
  }
}