|
@@ -691,6 +691,7 @@ static int maps__fixup_overlappings(struct maps *maps, struct map *map, FILE *fp
|
|
|
__map_groups__insert(pos->groups, before);
|
|
|
if (verbose >= 2)
|
|
|
map__fprintf(before, fp);
|
|
|
+ map__put(before);
|
|
|
}
|
|
|
|
|
|
if (map->end < pos->end) {
|
|
@@ -705,6 +706,7 @@ static int maps__fixup_overlappings(struct maps *maps, struct map *map, FILE *fp
|
|
|
__map_groups__insert(pos->groups, after);
|
|
|
if (verbose >= 2)
|
|
|
map__fprintf(after, fp);
|
|
|
+ map__put(after);
|
|
|
}
|
|
|
put_map:
|
|
|
map__put(pos);
|