)]}'
{
  "commit": "b2fb7a4368ba99173c9dbf084aa5a7f04cc8bb8e",
  "tree": "42d284d366f4462e52adf4472615d401dc82fa49",
  "parents": [
    "ad5db2e732c0ed532fe852a2ccf15ab637cb2366"
  ],
  "author": {
    "name": "Pan Nengyuan",
    "email": "pannengyuan@huawei.com",
    "time": "Fri Feb 14 11:32:06 2020 +0800"
  },
  "committer": {
    "name": "David Gibson",
    "email": "david@gibson.dropbear.id.au",
    "time": "Fri Feb 21 09:15:04 2020 +1100"
  },
  "message": "ppc: free \u0027fdt\u0027 after reset the machine\n\n\u0027fdt\u0027 forgot to clean both e500 and pnv when we call \u0027system_reset\u0027 on ppc,\nthis patch fix it. The leak stacks are as follow:\n\nDirect leak of 4194304 byte(s) in 4 object(s) allocated from:\n    #0 0x7fafe37dd970 in __interceptor_calloc (/lib64/libasan.so.5+0xef970)\n    #1 0x7fafe2e3149d in g_malloc0 (/lib64/libglib-2.0.so.0+0x5249d)\n    #2 0x561876f7f80d in create_device_tree /mnt/sdb/qemu-new/qemu/device_tree.c:40\n    #3 0x561876b7ac29 in ppce500_load_device_tree /mnt/sdb/qemu-new/qemu/hw/ppc/e500.c:364\n    #4 0x561876b7f437 in ppce500_reset_device_tree /mnt/sdb/qemu-new/qemu/hw/ppc/e500.c:617\n    #5 0x56187718b1ae in qemu_devices_reset /mnt/sdb/qemu-new/qemu/hw/core/reset.c:69\n    #6 0x561876f6938d in qemu_system_reset /mnt/sdb/qemu-new/qemu/vl.c:1412\n    #7 0x561876f6a25b in main_loop_should_exit /mnt/sdb/qemu-new/qemu/vl.c:1645\n    #8 0x561876f6a398 in main_loop /mnt/sdb/qemu-new/qemu/vl.c:1679\n    #9 0x561876f7da8e in main /mnt/sdb/qemu-new/qemu/vl.c:4438\n    #10 0x7fafde16b812 in __libc_start_main ../csu/libc-start.c:308\n    #11 0x5618765c055d in _start (/mnt/sdb/qemu-new/qemu/build/ppc64-softmmu/qemu-system-ppc64+0x2b1555d)\n\nDirect leak of 1048576 byte(s) in 1 object(s) allocated from:\n    #0 0x7fc0a6f1b970 in __interceptor_calloc (/lib64/libasan.so.5+0xef970)\n    #1 0x7fc0a656f49d in g_malloc0 (/lib64/libglib-2.0.so.0+0x5249d)\n    #2 0x55eb05acd2ca in pnv_dt_create /mnt/sdb/qemu-new/qemu/hw/ppc/pnv.c:507\n    #3 0x55eb05ace5bf in pnv_reset /mnt/sdb/qemu-new/qemu/hw/ppc/pnv.c:578\n    #4 0x55eb05f2f395 in qemu_system_reset /mnt/sdb/qemu-new/qemu/vl.c:1410\n    #5 0x55eb05f43850 in main /mnt/sdb/qemu-new/qemu/vl.c:4403\n    #6 0x7fc0a18a9812 in __libc_start_main ../csu/libc-start.c:308\n    #7 0x55eb0558655d in _start (/mnt/sdb/qemu-new/qemu/build/ppc64-softmmu/qemu-system-ppc64+0x2b1555d)\n\nReported-by: Euler Robot \u003ceuler.robot@huawei.com\u003e\nSigned-off-by: Pan Nengyuan \u003cpannengyuan@huawei.com\u003e\nMessage-Id: \u003c20200214033206.4395-1-pannengyuan@huawei.com\u003e\nReviewed-by: Greg Kurz \u003cgroug@kaod.org\u003e\nSigned-off-by: David Gibson \u003cdavid@gibson.dropbear.id.au\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "886442e54fa16b709a00a030e848229803e1fa7d",
      "old_mode": 33188,
      "old_path": "hw/ppc/e500.c",
      "new_id": "af537bba2b384b30a1b95fe42434d946686ffa37",
      "new_mode": 33188,
      "new_path": "hw/ppc/e500.c"
    },
    {
      "type": "modify",
      "old_id": "139c857b1e4c6cc0d6b7e9994a9d34f03f401c11",
      "old_mode": 33188,
      "old_path": "hw/ppc/pnv.c",
      "new_id": "e98038b809f5d8708b74d0aa0ba9d2cf75fedb6b",
      "new_mode": 33188,
      "new_path": "hw/ppc/pnv.c"
    }
  ]
}
