diff --git a/src/bin/debug/profile/BasicProfileResult.cpp b/src/bin/debug/profile/BasicProfileResult.cpp index e7573412e0..f6da6342c5 100644 --- a/src/bin/debug/profile/BasicProfileResult.cpp +++ b/src/bin/debug/profile/BasicProfileResult.cpp @@ -348,6 +348,7 @@ ExclusiveProfileResult::AddSamples(ImageProfileResultContainer* container, break; if (firstImage == NULL) firstImage = image; + image = NULL; } }