message: Avoid free(nullptr) when scanf fails (linux)
diff: @@ -151,11 +151,11 @@ int getFocusedWindowInfo(
  if (sscanf(buf, "%u (%m[^)]) %*c %u", // NOLINT
  &tmp_pid, &process_name, &tmp_ppid) == 3) {
  *filename = std::string(process_name);
  - }
  free(process_name);
  }
  }
  }
  + }
  free(pid);
  }
  