)]}'
{
  "commit": "2bd15f1f49629f110bbbbc5a2a226bec892de87c",
  "tree": "41bff6cce241bd43d657ee011a99d732bbea4e11",
  "parents": [
    "b14de3857227cd978f515247853fd15cc2425d3e"
  ],
  "author": {
    "name": "Jesper Juhl",
    "email": "jj@chaosbits.net",
    "time": "Sun Jan 23 23:08:31 2011 +0100"
  },
  "committer": {
    "name": "Greg Kroah-Hartman",
    "email": "gregkh@suse.de",
    "time": "Thu Feb 03 16:42:17 2011 -0800"
  },
  "message": "USB SL811HS HCD: Fix memory leak in sl811h_urb_enqueue()\n\nIn drivers/usb/host/sl811-hcd.c::sl811h_urb_enqueue(), memory is allocated\nwith kzalloc() and assigned to \u0027ep\u0027. If we leave via the \u0027fail\u0027 label due\nto \u0027if (ep-\u003emaxpacket \u003e H_MAXPACKET)\u0027, then \u0027ep\u0027 will go out of scope\nwithout having been assigned to anything, so we\u0027ll leak the memory we\nallocated.\nThis patch fixes the leak by simply calling kfree(ep); before jumping to\nthe \u0027fail\u0027 label.\n\nSigned-off-by: Jesper Juhl \u003cjj@chaosbits.net\u003e\nSigned-off-by: Greg Kroah-Hartman \u003cgregkh@suse.de\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "990f06b89eaadd55225d04169efbfdc09cf988ed",
      "old_mode": 33188,
      "old_path": "drivers/usb/host/sl811-hcd.c",
      "new_id": "2e9602a10e9bfe0ab267cb2bb09995f4f23b2796",
      "new_mode": 33188,
      "new_path": "drivers/usb/host/sl811-hcd.c"
    }
  ]
}
