]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'ne/alloc-free-and-null'
authorJunio C Hamano <gitster@pobox.com>
Thu, 18 Sep 2025 17:07:02 +0000 (10:07 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 18 Sep 2025 17:07:02 +0000 (10:07 -0700)
commit44c0d062bd2fed84ba1ac930a153de37a5280cd3
tree478570ca6a65df8185af7a24b5f2dc9a64850a6d
parentbf781d93b6b768c6e2bef12af73fcb3e14dd1a33
parent5e2feb5ca692c5c4d39b11e1ffa056911dd7dfd3
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