diff -S: release the image after looking for needle in it

Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
Junio C Hamano 2007-05-07 01:24:27 -07:00
parent 50b2b53897
commit a0cb94006c

View File

@ -44,6 +44,7 @@ static unsigned int contains(struct diff_filespec *one,
}
}
}
diff_free_filespec_data(one);
return cnt;
}