Commits

Anonymous committed bbf4b41

Plug memory leak in index-pack collision checking codepath.

  • Participants
  • Parent commits a8f4ef7

Comments (0)

Files changed (1)

 		if (size != has_size || type != has_type ||
 		    memcmp(data, has_data, size) != 0)
 			die("SHA1 COLLISION FOUND WITH %s !", sha1_to_hex(sha1));
+		free(has_data);
 	}
 }