mercurial/manifest.c
changeset 24710 909ee6b2a024
parent 24699 64cd23a1bc13
child 24974 46408b80c3a1
equal deleted inserted replaced
24709:69154e0ae384 24710:909ee6b2a024
   438 		else if (c > 0)
   438 		else if (c > 0)
   439 			start = pos + 1;
   439 			start = pos + 1;
   440 		else {
   440 		else {
   441 			if (self->lines[pos].deleted)
   441 			if (self->lines[pos].deleted)
   442 				self->livelines++;
   442 				self->livelines++;
       
   443 			if (self->lines[pos].from_malloc)
       
   444 				free(self->lines[pos].start);
   443 			start = pos;
   445 			start = pos;
   444 			goto finish;
   446 			goto finish;
   445 		}
   447 		}
   446 	}
   448 	}
   447 	/* being here means we need to do an insert */
   449 	/* being here means we need to do an insert */