)]}'
{
  "commit": "14bfca0dec5dda34844d638ed2e5a78d04f196d1",
  "tree": "c8ce28b901010adfb11b48345128516c8eeab858",
  "parents": [
    "431d4d2acc42c6a52fd29a06472a57e5fea97852"
  ],
  "author": {
    "name": "Peter Maydell",
    "email": "peter.maydell@linaro.org",
    "time": "Tue Sep 03 17:22:18 2024 +0100"
  },
  "committer": {
    "name": "Peter Maydell",
    "email": "peter.maydell@linaro.org",
    "time": "Thu Sep 05 13:12:36 2024 +0100"
  },
  "message": "hw/misc/xlnx-versal-trng: Call register_finalize_block\n\nThe TYPE_XLNX_VERSAL_TRNG device creates a register block with\nregister_init_block32() in its instance_init method; we must\ntherefore destroy it in our instance_finalize method to avoid a leak\nin the QOM introspection \"init-inspect-finalize\" lifecycle:\n\nDirect leak of 304 byte(s) in 1 object(s) allocated from:\n    #0 0x55842ec799d8 in __interceptor_calloc (/mnt/nvmedisk/linaro/qemu-from-laptop/qemu/build/asan/qemu-system-aarch64+0x294e9d8) (BuildId: 47496e53f3e779f1c7e9b82cbea07407152b498b)\n    #1 0x7fe793c75c50 in g_malloc0 debian/build/deb/../../../glib/gmem.c:161:13\n    #2 0x55842f0aec5d in register_init_block hw/core/register.c:248:34\n    #3 0x55842f0af6be in register_init_block32 hw/core/register.c:299:12\n    #4 0x55842f801588 in trng_init hw/misc/xlnx-versal-trng.c:614:9\n    #5 0x558431c411a1 in object_init_with_type qom/object.c:420:9\n    #6 0x558431c2847b in object_initialize_with_type qom/object.c:562:5\n    #7 0x558431c29d1d in object_new_with_type qom/object.c:782:5\n    #8 0x558431c29df1 in object_new qom/object.c:797:12\n    #9 0x558432427c1d in qmp_device_list_properties qom/qom-qmp-cmds.c:144:11\n\nSigned-off-by: Peter Maydell \u003cpeter.maydell@linaro.org\u003e\nReviewed-by: Edgar E. Iglesias \u003cedgar.iglesias@amd.com\u003e\nReviewed-by: Francisco Iglesias \u003cfrancisco.iglesias@amd.com\u003e\nReviewed-by: Alistair Francis \u003calistair.francis@wdc.com\u003e\nMessage-id: 20240822162127.705879-6-peter.maydell@linaro.org\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "c0d1dde8708546d7f7753d3a6a53798d79a631a2",
      "old_mode": 33188,
      "old_path": "hw/misc/xlnx-versal-trng.c",
      "new_id": "86905479b8f665628bc66425b8164f9c591e5b9f",
      "new_mode": 33188,
      "new_path": "hw/misc/xlnx-versal-trng.c"
    },
    {
      "type": "modify",
      "old_id": "0bcef8a6132801bdf39a6b87c735417747c1cd4f",
      "old_mode": 33188,
      "old_path": "include/hw/misc/xlnx-versal-trng.h",
      "new_id": "d96f8f9eff3b3bb27ade34c65d8f97c791de1c73",
      "new_mode": 33188,
      "new_path": "include/hw/misc/xlnx-versal-trng.h"
    }
  ]
}
