)]}'
{
  "commit": "88c4cce8d28e6be486cb25fbbccf2b42e40da45b",
  "tree": "df842da69d935024ed54f49f827f4fc1cd634b6d",
  "parents": [
    "075e4d6d95681bfbf53e849c2802a75d1d4cbdca"
  ],
  "author": {
    "name": "Tom Tromey",
    "email": "tom@tromey.com",
    "time": "Tue Aug 02 12:01:01 2022 -0600"
  },
  "committer": {
    "name": "Tom Tromey",
    "email": "tom@tromey.com",
    "time": "Wed Aug 03 13:26:58 2022 -0600"
  },
  "message": "Use unique_ptr to destroy per-bfd object\n\nIn some cases, the objfile owns the per-bfd object.  This is yet\nanother object that can sometimes be destroyed before the registry is\ndestroyed, possibly reslting in a use-after-free.  Also, I noticed\nthat the condition for deleting the object is not the same as the\ncondition used to create it -- so it could possibly result in a memory\nleak in some situations.  This patch fixes the problem by introducing\na new unique_ptr that holds this object when necessary.\n\n\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "c92da7548b3274a6e2f6e38150fccb858a89a23f",
      "old_mode": 33188,
      "old_path": "gdb/objfiles.c",
      "new_id": "31c27e9c3cb6bca5505cf3e381d6b5b28f5ab260",
      "new_mode": 33188,
      "new_path": "gdb/objfiles.c"
    },
    {
      "type": "modify",
      "old_id": "ac45fa3980f2d272d9e4f5b4503be343c1885c88",
      "old_mode": 33188,
      "old_path": "gdb/objfiles.h",
      "new_id": "16dab0d2c6936e3dabd07da8741db285ac2514e9",
      "new_mode": 33188,
      "new_path": "gdb/objfiles.h"
    }
  ]
}
