mercurial/manifest.c
changeset 24710 909ee6b2a024
parent 24699 64cd23a1bc13
child 24974 46408b80c3a1
--- 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;
 		}