|
@@ -333,7 +333,7 @@ static void machine__update_thread_pid(struct machine *machine,
|
|
if (!map_groups__empty(th->mg))
|
|
if (!map_groups__empty(th->mg))
|
|
pr_err("Discarding thread maps for %d:%d\n",
|
|
pr_err("Discarding thread maps for %d:%d\n",
|
|
th->pid_, th->tid);
|
|
th->pid_, th->tid);
|
|
- map_groups__delete(th->mg);
|
|
|
|
|
|
+ map_groups__put(th->mg);
|
|
}
|
|
}
|
|
|
|
|
|
th->mg = map_groups__get(leader->mg);
|
|
th->mg = map_groups__get(leader->mg);
|