)]}'
{
  "commit": "7082cbf0ae51eb1044fe1a0749245e97e4fcfc89",
  "tree": "ee2f5c32bfa246ab0fb01de8d8b29b1a65f227c1",
  "parents": [
    "b2f37be7c25bc83b76f1b7063a4ef38b824dc4ef"
  ],
  "author": {
    "name": "Benjamin Gordon",
    "email": "bmgordon@chromium.org",
    "time": "Tue Aug 02 09:33:44 2022 -0600"
  },
  "committer": {
    "name": "Chromeos LUCI",
    "email": "chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com",
    "time": "Thu Aug 04 00:54:06 2022 +0000"
  },
  "message": "rootdev: Fix memory leak\n\nmatch_sysfs_device allocates a struct dirent that was used with\nreaddir_r.  When the function was converted to use readdir, the malloc\nwasn\u0027t removed, so this is now a memory leak.  Remove the malloc\nentirely, since readdir returns a pointer to its own memory.\n\nBUG\u003db:225008839\nTEST\u003dFEATURES\u003dtest emerge-octopus rootdev\n\nChange-Id: I20325e8b4baebca7ea358ccd804f761aeda2bfa1\nReviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/rootdev/+/3804964\nTested-by: Benjamin Gordon \u003cbmgordon@chromium.org\u003e\nReviewed-by: Jordan Abrahams-Whitehead \u003cajordanr@google.com\u003e\nCommit-Queue: Benjamin Gordon \u003cbmgordon@chromium.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "037140cde2257a51171440021c060352ca33ea90",
      "old_mode": 33188,
      "old_path": "rootdev.c",
      "new_id": "eae6212a823b86426be6aa783a7a2f957ca1e985",
      "new_mode": 33188,
      "new_path": "rootdev.c"
    }
  ]
}
