Rename HeapItem to HeapEntry

This commit is contained in:
2018-07-07 18:58:50 +01:00
parent bbf8623513
commit b4dde18179
5 changed files with 27 additions and 27 deletions

View File

@@ -69,7 +69,7 @@ func diffsect(a, b, c *[]string) *[]string {
func printHexDiff(leaked *[]string, dump *HeapDump) {
for _, index := range *leaked {
if item, ok := dump.Items[index]; ok {
if item, ok := dump.Entries[index]; ok {
fmt.Printf("%s\n", item.Address)
}
}