profile: Unset image in ExclusiveProfileResult if we didn't find a symbol.

Fixes unknown hit counters.
This commit is contained in:
Augustin Cavalier
2024-07-17 00:25:06 -04:00
parent acd752e158
commit 8a30142841
@@ -348,6 +348,7 @@ ExclusiveProfileResult::AddSamples(ImageProfileResultContainer* container,
break;
if (firstImage == NULL)
firstImage = image;
image = NULL;
}
}