)]}'
{
  "commit": "2b1ebef8b8a5af7092de80daafd2743683d0e8c8",
  "tree": "c549ce853986ffdf38c00339549f1118ad637242",
  "parents": [
    "0ebe5557d9688f7397d45facb26efcd3f2c3bc8c"
  ],
  "author": {
    "name": "gbMattN",
    "email": "matthew.nagy@sony.com",
    "time": "Wed May 28 14:51:50 2025 +0100"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Wed May 28 14:51:50 2025 +0100"
  },
  "message": "Fixed small memory leak in libprofile (#141739)\n\nInside `getCurFilename`, there is this code snippit\n```\nif (!lprofCurFilename.FilenamePat || !lprofCurFilename.FilenamePat[0])\n    return 0;\n```\nIf this is true, we return `\"\\0\"`, but would leak the memory in\n`FilenameBuf`.\nThis pull request adds a free before then to properly free the memory.\nThere was already a check that we allocated memory, so there is no need\nto worry about freeing unallocated memory.",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "e6bab9533146b7ae993c57f348e27c44978b5749",
      "old_mode": 33188,
      "old_path": "compiler-rt/lib/profile/InstrProfilingFile.c",
      "new_id": "354f21b78615194b3228f82fb2c4e79baf020591",
      "new_mode": 33188,
      "new_path": "compiler-rt/lib/profile/InstrProfilingFile.c"
    }
  ]
}
