mirror of
https://github.com/git/git.git
synced 2026-01-09 01:34:00 +00:00
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 <gfunni234@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
committed by
Junio C Hamano
parent
a1cf0cf13a
commit
12f0be0857
@@ -352,7 +352,6 @@ out:
|
|||||||
|
|
||||||
static void repo_clear_path_cache(struct repo_path_cache *cache)
|
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->squash_msg);
|
||||||
FREE_AND_NULL(cache->merge_msg);
|
FREE_AND_NULL(cache->merge_msg);
|
||||||
FREE_AND_NULL(cache->merge_rr);
|
FREE_AND_NULL(cache->merge_rr);
|
||||||
|
|||||||
Reference in New Issue
Block a user