mercurial/bdiff.c
changeset 38308 068e774ae29e
parent 35723 50868145a8de
child 41336 763b45bc4483
equal deleted inserted replaced
38307:519b46a8f4d2 38308:068e774ae29e
   308 	for (curr = base->next; curr; curr = curr->next)
   308 	for (curr = base->next; curr; curr = curr->next)
   309 		count++;
   309 		count++;
   310 	return count;
   310 	return count;
   311 }
   311 }
   312 
   312 
       
   313 /* deallocate list of hunks; l may be NULL */
   313 void bdiff_freehunks(struct bdiff_hunk *l)
   314 void bdiff_freehunks(struct bdiff_hunk *l)
   314 {
   315 {
   315 	struct bdiff_hunk *n;
   316 	struct bdiff_hunk *n;
   316 	for (; l; l = n) {
   317 	for (; l; l = n) {
   317 		n = l->next;
   318 		n = l->next;