--- a/mercurial/manifest.c Mon Apr 13 07:42:25 2015 -0500
+++ b/mercurial/manifest.c Sat Apr 11 11:56:21 2015 -0400
@@ -440,6 +440,8 @@
else {
if (self->lines[pos].deleted)
self->livelines++;
+ if (self->lines[pos].from_malloc)
+ free(self->lines[pos].start);
start = pos;
goto finish;
}