From: Junio C Hamano Date: Thu, 18 Sep 2025 17:07:02 +0000 (-0700) Subject: Merge branch 'ne/alloc-free-and-null' X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=44c0d062bd2fed84ba1ac930a153de37a5280cd3;p=thirdparty%2Fgit.git Merge branch 'ne/alloc-free-and-null' The clear_alloc_state() API function was not fully clearing the structure for reuse, but since nobody reuses it, replace it with a variant that frees the structure as well, making the callers simpler. * ne/alloc-free-and-null: alloc: fix dangling pointer in alloc_state cleanup --- 44c0d062bd2fed84ba1ac930a153de37a5280cd3