)]}'
{
  "commit": "d28fbc7197ba0e021a43f873eff90b05dcdcff6a",
  "tree": "7957b5ecb763fec5d5822917c84dfb376ec4af9f",
  "parents": [
    "f7cb9bba3d5d8dc10d4cccc42c67a4ba33820ddc"
  ],
  "author": {
    "name": "Alan Modra",
    "email": "amodra@gmail.com",
    "time": "Wed Dec 21 21:40:12 2022 +1030"
  },
  "committer": {
    "name": "Alan Modra",
    "email": "amodra@gmail.com",
    "time": "Thu Dec 22 07:03:07 2022 +1030"
  },
  "message": "PR29925, Memory leak in find_abstract_instance\n\nThe testcase in the PR had a variable with both DW_AT_decl_file and\nDW_AT_specification, where the DW_AT_specification also specified\nDW_AT_decl_file.  This leads to a memory leak as the file name is\nmalloced and duplicates are not expected.\n\nI\u0027ve also changed find_abstract_instance to not use a temp for \"name\",\nbecause that can result in a change in behaviour from the usual last\nof duplicate attributes wins.\n\n\tPR 29925\n\t* dwarf2.c (find_abstract_instance): Delete \"name\" variable.\n\tFree *filename_ptr before assigning new file name.\n\t(scan_unit_for_symbols): Similarly free func-\u003efile and\n\tvar-\u003efile before assigning.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "0cd8152ee6e4f84d6adb272333d8bbb58b84c6e0",
      "old_mode": 33188,
      "old_path": "bfd/dwarf2.c",
      "new_id": "b608afbc0cf260e98e2f87ab6d55c935937b2810",
      "new_mode": 33188,
      "new_path": "bfd/dwarf2.c"
    }
  ]
}
