From: Greg Funni Date: Thu, 18 Dec 2025 15:49:12 +0000 (+0000) Subject: repository: remove duplicate free of cache->squash_msg X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=12f0be085701472f634a71ffe1416334c4869267;p=thirdparty%2Fgit.git repository: remove duplicate free of cache->squash_msg Thankfully, it is set to NULL, so no security consequences. However, this is still a mistake that must be rectified. Signed-off-by: Greg Funni Signed-off-by: Junio C Hamano --- diff --git a/repository.c b/repository.c index 1a6a62bbd0..faa3fc2393 100644 --- a/repository.c +++ b/repository.c @@ -352,7 +352,6 @@ out: static void repo_clear_path_cache(struct repo_path_cache *cache) { - FREE_AND_NULL(cache->squash_msg); FREE_AND_NULL(cache->squash_msg); FREE_AND_NULL(cache->merge_msg); FREE_AND_NULL(cache->merge_rr);