]> git.99rst.org Git - git.git/commitdiff
Merge branch 'ne/alloc-free-and-null'
authorJunio C Hamano <redacted>
Thu, 18 Sep 2025 17:07:02 +0000 (10:07 -0700)
committerJunio C Hamano <redacted>
Thu, 18 Sep 2025 17:07:02 +0000 (10:07 -0700)
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


Trivial merge
git clone https://git.99rst.org/PROJECT