this patch fixes a memory leak in show-diff.c.

        Ingo

Signed-off-by: Ingo Molnar <[EMAIL PROTECTED]>

--- 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)
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to