)]}'
{
  "commit": "19e246dda6772ffc532b1762cd7870d6c3b01c12",
  "tree": "93ab36fe44bc75b7366ad6d362ba25bc4ba4d994",
  "parents": [
    "deab11acd7000573ad9c034e5bf9475aadbc5cbe"
  ],
  "author": {
    "name": "Yabin Cui",
    "email": "yabinc@google.com",
    "time": "Thu Dec 18 14:22:09 2014 -0800"
  },
  "committer": {
    "name": "Yabin Cui",
    "email": "yabinc@google.com",
    "time": "Thu Jan 15 10:45:25 2015 -0800"
  },
  "message": "Fix possible leak in pthread_detach.\n\nIf pthread_detach() is called while the thread is in pthread_exit(),\nit takes the risk that no one can free the pthread_internal_t.\nSo I add PTHREAD_ATTR_FLAG_ZOMBIE to detect this, maybe very rare, but\nboth glibc and netbsd libpthread have similar function.\n\nChange-Id: Iaa15f651903b8ca07aaa7bd4de46ff14a2f93835\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "715acf13a8b047b9bdc5567fa41a730413dbf4a4",
      "old_mode": 33188,
      "old_path": "libc/bionic/pthread_detach.cpp",
      "new_id": "c800660085cf04418de1e53b2b02a3229a18fe0e",
      "new_mode": 33188,
      "new_path": "libc/bionic/pthread_detach.cpp"
    },
    {
      "type": "modify",
      "old_id": "9603a7903d05fe71a9d6a0db7ca1af5804f7728c",
      "old_mode": 33188,
      "old_path": "libc/bionic/pthread_exit.cpp",
      "new_id": "d0d64b0ec65f9b4612f6072fb4eb62c77a5dbd7a",
      "new_mode": 33188,
      "new_path": "libc/bionic/pthread_exit.cpp"
    },
    {
      "type": "modify",
      "old_id": "80002e93f9e18ad0652879e40bb2ee27a06b8ba4",
      "old_mode": 33188,
      "old_path": "libc/bionic/pthread_internal.h",
      "new_id": "8fbaf2213a2126e8a33e682f382563abc5b7cd06",
      "new_mode": 33188,
      "new_path": "libc/bionic/pthread_internal.h"
    },
    {
      "type": "modify",
      "old_id": "2398f234bbcca1352bf5c4704ba1585bf389781d",
      "old_mode": 33188,
      "old_path": "tests/pthread_test.cpp",
      "new_id": "cb32079233e5024ab1b3789abe18a3c03dcbbc75",
      "new_mode": 33188,
      "new_path": "tests/pthread_test.cpp"
    }
  ]
}
