)]}'
{
  "commit": "b4e690fb33cbfb35a12cffe4b655a4045f71aa82",
  "tree": "ec478d2552f024f5d14d81fb9df1d5d30b8db169",
  "parents": [
    "a307f426f82fa495c7b14e15e625614f16788d9c"
  ],
  "author": {
    "name": "Gavin Stark",
    "email": "gavin@gstark.com",
    "time": "Wed May 20 17:23:14 2020 -0400"
  },
  "committer": {
    "name": "XinfengZhang",
    "email": "carl.zhang@intel.com",
    "time": "Tue Jun 09 22:53:31 2020 +0800"
  },
  "message": "Fixes file descriptor leak\n\nIf code calls va_isDRI2Connected multiple times there is no protection\nagainst calling open(device_name, O_RDWR) again and losing the reference\nto the original file descriptor.\n\nA recent change (bc8a12) calls the method twice each time libva is\ninitialized, thus causing a leak of device file descriptors.\n\nThis change moves the initializing of the fd and auth_type to the\ncreation of the dri_state and then checks to see if they have already\nbeen initialized. If so, the method va_isDRIConnected returns true\nand fills in driver_name.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "e383db1bd0a60496495748d284409bca569947bd",
      "old_mode": 33188,
      "old_path": "va/x11/dri2_util.c",
      "new_id": "2218adff2aca48bdb7d7490bd7780bc56cc32edc",
      "new_mode": 33188,
      "new_path": "va/x11/dri2_util.c"
    },
    {
      "type": "modify",
      "old_id": "cb2316814dd10cc31f3399cc1f563aea88fda97c",
      "old_mode": 33188,
      "old_path": "va/x11/va_x11.c",
      "new_id": "453ed462181f040d6ebe8fc818bd58e76c741044",
      "new_mode": 33188,
      "new_path": "va/x11/va_x11.c"
    }
  ]
}
