)]}'
{
  "commit": "797fe796c4335b35d95d5326824513befdb5d1e9",
  "tree": "c711b5d30e412dce8427e392c9379b6c03dce5fc",
  "parents": [
    "dabbaab394d17ba1d1b55092d553e6e31a3d0afd"
  ],
  "author": {
    "name": "David Herrmann",
    "email": "dh.herrmann@googlemail.com",
    "time": "Sat Jan 07 15:47:19 2012 +0100"
  },
  "committer": {
    "name": "Johan Hedberg",
    "email": "johan.hedberg@intel.com",
    "time": "Mon Feb 13 17:01:24 2012 +0200"
  },
  "message": "Bluetooth: uart-ldisc: Fix memory leak and remove destruct cb\n\nWe currently leak the hci_uart object if HCI_UART_PROTO_SET is never set\nbecause the hci-destruct callback will then never be called.  This fix\nremoves the hci-destruct callback and frees the driver internal private\nhci_uart object directly on tty-close. We call hci_unregister_dev() here\nso the hci-core will never call our callbacks again (except destruct).\nTherefore, we can safely free the driver internal data right away and\nset the destruct callback to NULL.\n\nSigned-off-by: David Herrmann \u003cdh.herrmann@googlemail.com\u003e\nAcked-by: Marcel Holtmann \u003cmarcel@holtmann.org\u003e\nSigned-off-by: Johan Hedberg \u003cjohan.hedberg@intel.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "48ad2a7ab080ba9a58c425da7cc959dba0e1e3de",
      "old_mode": 33188,
      "old_path": "drivers/bluetooth/hci_ldisc.c",
      "new_id": "5ea49df3462bfa3cc69f700cecb10a7b0116031e",
      "new_mode": 33188,
      "new_path": "drivers/bluetooth/hci_ldisc.c"
    }
  ]
}
