Code

diff -S: release the image after looking for needle in it
authorJunio C Hamano <junkio@cox.net>
Mon, 7 May 2007 08:24:27 +0000 (01:24 -0700)
committerJunio C Hamano <junkio@cox.net>
Mon, 7 May 2007 22:54:32 +0000 (15:54 -0700)
Signed-off-by: Junio C Hamano <junkio@cox.net>
diffcore-pickaxe.c

index 286919e71428049eda1449ba71ac81667ebc3f7d..c4a77d71da5602b68c541c2487fcbecfdfff2944 100644 (file)
@@ -44,6 +44,7 @@ static unsigned int contains(struct diff_filespec *one,
                        }
                }
        }
+       diff_free_filespec_data(one);
        return cnt;
 }