)]}'
{
  "commit": "747720eb73642fcab9693833f8943f3f37bdb881",
  "tree": "2b9dd1f95def0e660ea600969d4796d718c14038",
  "parents": [
    "8382c2ad5284fdfffb6848fb429c40fdf169bf3a"
  ],
  "author": {
    "name": "David Lechner",
    "email": "dlechner@baylibre.com",
    "time": "Thu Jun 11 18:36:08 2026 -0500"
  },
  "committer": {
    "name": "Jerome Forissier",
    "email": "jerome.forissier@arm.com",
    "time": "Tue Jun 23 13:13:16 2026 +0200"
  },
  "message": "net: lwip: wget: fix error handling in wget_do_request()\n\nSplit wget_do_request() into two functions to make error handling less\nerror-prone.\n\nAfter a successful call to net_lwip_new_netif(), net_lwip_remove_netif()\nmust always be called to prevent leaks. This was missed in the CACERT\nsection of the code where we returned on error without cleaning up.\n\nInstead of adding more calls to net_lwip_remove_netif(), refactor the\ncode into two functions. The outer function handles managing the netif\nlifecycle. The inner function no longer has to worry about cleaning up\nbefore returning on error.\n\nTo keep things simple, the `path` local variable is removed during the\nrefactoring. Instead, ctx.path is used directly everywhere.\n\nFixes: 3c656c928bd7 (\"net: lwip: add wget command\")\nReviewed-by: Jerome Forissier \u003cjerome.forissier@arm.com\u003e\nAcked-by: Ilias Apalodimas \u003cilias.apalodimas@linaro.org\u003e\nSigned-off-by: David Lechner \u003cdlechner@baylibre.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "502c0faebb25af6dcdf05dc35762d31482abadf9",
      "old_mode": 33188,
      "old_path": "net/lwip/wget.c",
      "new_id": "f89a6580b416920757083960126eccc66ca078f8",
      "new_mode": 33188,
      "new_path": "net/lwip/wget.c"
    }
  ]
}
