)]}'
{
  "commit": "32d6feadf4e17ea9b98071be9bbf402a74a4f818",
  "tree": "62427ca91992c87399211fec6294533fac0e7464",
  "parents": [
    "29c1f677d424e8c5683a837fc4f03fc9f19201d7"
  ],
  "author": {
    "name": "Jesper Juhl",
    "email": "jj@chaosbits.net",
    "time": "Thu Jan 13 15:47:22 2011 -0800"
  },
  "committer": {
    "name": "Linus Torvalds",
    "email": "torvalds@linux-foundation.org",
    "time": "Thu Jan 13 17:32:48 2011 -0800"
  },
  "message": "mm/hugetlb.c: fix error-path memory leak in nr_hugepages_store_common()\n\nThe NODEMASK_ALLOC macro may dynamically allocate memory for its second\nargument (\u0027nodes_allowed\u0027 in this context).\n\nIn nr_hugepages_store_common() we may abort early if strict_strtoul()\nfails, but in that case we do not free the memory already allocated to\n\u0027nodes_allowed\u0027, causing a memory leak.\n\nThis patch closes the leak by freeing the memory in the error path.\n\n[akpm@linux-foundation.org: use NODEMASK_FREE, per Minchan Kim]\nSigned-off-by: Jesper Juhl \u003cjj@chaosbits.net\u003e\nCc: Minchan Kim \u003cminchan.kim@gmail.com\u003e\nSigned-off-by: Andrew Morton \u003cakpm@linux-foundation.org\u003e\nSigned-off-by: Linus Torvalds \u003ctorvalds@linux-foundation.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "7bf223d6677b77ca0322645313d90467310362a4",
      "old_mode": 33188,
      "old_path": "mm/hugetlb.c",
      "new_id": "8e31cda6fc2209fb5b6cff56245f611d7850b2fe",
      "new_mode": 33188,
      "new_path": "mm/hugetlb.c"
    }
  ]
}
