{"thread":{"id":"4766","subject":"[PATCH] rev-list: free commit_list in ... handler","startedAt":"2006-07-04T19:22:20Z","lastAt":"2006-07-04T21:37:15Z","messageCount":2,"participants":["Rene Scharfe","Junio C Hamano"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"23239","messageId":"20060704192220.GA9500@lsrfire.ath.cx","threadId":"4766","inReplyTo":null,"subject":"[PATCH] rev-list: free commit_list in ... handler","fromName":"Rene Scharfe","fromEmail":"rene.scharfe@lsrfire.ath.cx","sentAt":"2006-07-04T19:22:20Z","receivedAt":"2006-07-04T19:22:20Z","isPatch":true,"sender":{"key":"l.s.r@web.de","avatar":"https://avatars.githubusercontent.com/u/26122331?v=4"},"body":"Johannes noticed the missing call to free_commit_list() in the\npatch from Santi to add ... support to rev-parse.  Turns out I\nforgot it too in rev-list.  This patch is against the next branch\n(3b1d06a).\n\nSigned-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>\n\ndiff --git a/revision.c b/revision.c\nindex 66390c9..a7750e6 100644\n--- a/revision.c\n+++ b/revision.c\n@@ -817,6 +817,7 @@ int setup_revisions(int argc, const char\n \t\t\t\t\texclude = get_merge_bases(a, b, 1);\n \t\t\t\t\tadd_pending_commit_list(revs, exclude,\n \t\t\t\t\t                        flags_exclude);\n+\t\t\t\t\tfree_commit_list(exclude);\n \t\t\t\t\ta->object.flags |= flags;\n \t\t\t\t} else\n \t\t\t\t\ta->object.flags |= flags_exclude;\n"},{"id":"23247","messageId":"7v4pxxgigk.fsf@assigned-by-dhcp.cox.net","threadId":"4766","inReplyTo":"20060704192220.GA9500@lsrfire.ath.cx","subject":"Re: [PATCH] rev-list: free commit_list in ... handler","fromName":"Junio C Hamano","fromEmail":"junkio@cox.net","sentAt":"2006-07-04T21:37:15Z","receivedAt":"2006-07-04T21:37:15Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Thanks.\n"}]}