]> git.ipfire.org Git - thirdparty/git.git/commit
git-compat-util: drop now-unused `UNLEAK()` macro
authorPatrick Steinhardt <ps@pks.im>
Wed, 20 Nov 2024 13:39:51 +0000 (14:39 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 20 Nov 2024 23:23:46 +0000 (08:23 +0900)
commit52c7dbd036e1e5dd2ef854737c3010b3d0a2f3ca
tree1594de29e651d46277d744e9f0503c67c4cc3961
parentd91a9db33c53744b3d1034926edda7846442bc9e
git-compat-util: drop now-unused `UNLEAK()` macro

The `UNLEAK()` macro has been introduced with 0e5bba53af (add UNLEAK
annotation for reducing leak false positives, 2017-09-08) to help us
reduce the amount of reported memory leaks in cases we don't care about,
e.g. when exiting immediately afterwards. We have since removed all of
its users in favor of freeing the memory and thus don't need the macro
anymore.

Remove it.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-compat-util.h
usage.c