From: Ingo Molnar Date: Thu, 14 Apr 2005 12:08:34 GMT Subject: [patch] git: fix memory leak in show-diff.c Message-ID: <20050414120834.GA14290@elte.hu> In-Reply-To: <20050414112638.GA12593@elte.hu> this patch fixes a memory leak in show-diff.c. Ingo Signed-off-by: Ingo Molnar --- show-diff.c.orig +++ show-diff.c @@ -53,6 +53,7 @@ static void show_diff_empty(struct cache printf("\n"); fflush(stdout); } + free(old); } int main(int argc, char **argv)