)]}'
{
  "commit": "d6474ed7d28c03ef79acd2e87ca429072727df86",
  "tree": "9af13c5e92a16f9b63db9e6d4c0fb72fc744ed86",
  "parents": [
    "76d939de537dc1d95b8c387ea4633c9c3a8448d2"
  ],
  "author": {
    "name": "Tailing Yuan",
    "email": "yuantailing@gmail.com",
    "time": "Tue Aug 31 09:48:33 2021 +0800"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Mon Aug 30 21:48:33 2021 -0400"
  },
  "message": "fix: memory leak in cpp_function (#3228) (#3229)\n\n* fix: memory leak in cpp_function (#3228)\r\n\r\n* add a test case to check objects are deconstructed in cpp_function\r\n\r\n* update the test case about cpp_function\r\n\r\n* fix the test case about cpp_function: remove \"noexcept\"\r\n\r\n* Actually calling func. CHECK(stat.alive() \u003d\u003d 2); Manually verified that the new tests fails without the change in pybind11.h\r\n\r\n* Moving new test to test_callbacks.cpp,py, with small enhancements.\r\n\r\n* Removing new test from test_interpreter.cpp (after it was moved to test_callbacks.cpp,py). This restores test_interpreter.cpp to the current state on master.\r\n\r\n* Using py::detail::silence_unused_warnings(py_func); to make the intent clear.\r\n\r\nCo-authored-by: Ralf W. Grosse-Kunstleve \u003crwgk@google.com\u003e",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "89f9cbd9b86b841e0ed8cbbb3eef1fbd3b3206e3",
      "old_mode": 33188,
      "old_path": "include/pybind11/pybind11.h",
      "new_id": "990c213049b5276ad185ff012e501e92b12e54c6",
      "new_mode": 33188,
      "new_path": "include/pybind11/pybind11.h"
    },
    {
      "type": "modify",
      "old_id": "a50771038b024ca64d25ca73140731becc3437ce",
      "old_mode": 33188,
      "old_path": "tests/test_callbacks.cpp",
      "new_id": "58688b6e8b3d028140735942912b240fc63b5f91",
      "new_mode": 33188,
      "new_path": "tests/test_callbacks.cpp"
    },
    {
      "type": "modify",
      "old_id": "9dc272a2da232f64773c71d5ed0b341906f03d14",
      "old_mode": 33188,
      "old_path": "tests/test_callbacks.py",
      "new_id": "edbb1890c94fb7c0ec0f8a50df84530c02b79e1d",
      "new_mode": 33188,
      "new_path": "tests/test_callbacks.py"
    }
  ]
}
