From: Derrick Stolee Date: Mon, 24 Apr 2023 15:21:56 GMT Subject: Re: [PATCH] Fix memory leak in get_reachable_subset Message-ID: In-Reply-To: <20230421234409.1925489-1-mh@glandium.org> On 4/21/2023 7:44 PM, Mike Hommey wrote: > @@ -944,6 +944,8 @@ struct commit_list *get_reachable_subset(struct commit **from, int nr_from, > } > } > > + clear_prio_queue(&queue); > + Thanks. This is a leak that has existed since the method was first created in fcb2c0769db (commit-reach: implement get_reachable_subset, 2018-11-02). I appreciate the attention to detail. -Stolee