]> git.ipfire.org Git - thirdparty/git.git/commit
clear_pattern_list(): clear embedded hashmaps
authorJeff King <peff@peff.net>
Fri, 14 Aug 2020 11:10:49 +0000 (07:10 -0400)
committerJunio C Hamano <gitster@pobox.com>
Fri, 14 Aug 2020 17:48:12 +0000 (10:48 -0700)
commit8dc3156373f4e02c1b1f657350ffae8ee94cbf44
tree3c2fb13dce87ea41845b4e959a2be46b69e67551
parent47ae905ffb98cc4d4fd90083da6bc8dab55d9ecc
clear_pattern_list(): clear embedded hashmaps

Commit 96cc8ab531 (sparse-checkout: use hashmaps for cone patterns,
2019-11-21) added some auxiliary hashmaps to the pattern_list struct,
but they're leaked when clear_pattern_list() is called.

Signed-off-by: Jeff King <peff@peff.net>
Acked-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
dir.c