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>maint
parent
a1cf0cf13a
commit
12f0be0857
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue