)]}'
{
  "commit": "a41642708a5d1cbe8ad966227bbee1ed5eb421ad",
  "tree": "e9a947c3f26b8e431735a5de3586b22dd8206ade",
  "parents": [
    "e0883e2de0ef36f254acc274e80ddeac13a2a8f6"
  ],
  "author": {
    "name": "Gonglei",
    "email": "arei.gonglei@huawei.com",
    "time": "Fri Dec 05 16:30:10 2014 +0800"
  },
  "committer": {
    "name": "Gerd Hoffmann",
    "email": "kraxel@redhat.com",
    "time": "Tue Dec 16 14:15:29 2014 +0100"
  },
  "message": "spice: fix memory leak\n\nIf errors happen for middle items of channel_list,\nqmp_query_spice_channels() returns NULL, and the variable\ncur_item going out of scope leaks the storage it points to.\n\nThe flag is a compatibility thing for older spice-server\nversions. Meanwhile our minimum spice version requirement is\nnew enough that we should never ever see this error, and if we\ndo something went very seriously wrong. Let\u0027s using assert()\ninstead of returning NULL to avoid a memory leak.\n\nSuggested-by: Paolo Bonzini \u003cpbonzini@redhat.com\u003e\nSigned-off-by: Gonglei \u003carei.gonglei@huawei.com\u003e\nReviewed-by: Eric Blake \u003ceblake@redhat.com\u003e\nSigned-off-by: Gerd Hoffmann \u003ckraxel@redhat.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "497670c4d5e25a617221af043d83e0676c8a3f2e",
      "old_mode": 33188,
      "old_path": "ui/spice-core.c",
      "new_id": "fe705c1ae2d2273e7231e99c58334b96f7c667f5",
      "new_mode": 33188,
      "new_path": "ui/spice-core.c"
    }
  ]
}
