From: Junio C Hamano Date: Wed, 28 Apr 2021 00:43:40 GMT Subject: Re: [PATCH v2 09/12] mailinfo: also free strbuf lists when clearing mailinfo Message-ID: In-Reply-To: <217f571f8ef5f3a46c0cbb1ceca022a18e5b43d2.1619360180.git.gitgitgadget@gmail.com> "Andrzej Hunt via GitGitGadget" writes: > However, strbuf_list_free() cannot handle a NULL input, and the lists we > are freeing might be NULL. Therefore we add a NULL check in > strbuf_list_free() to make it safe to use with a NULL input (which is a > pattern used by some of the other *_free() functions around git). OK. Thanks.