diff options
Diffstat (limited to 'src/plugins/valgrind/suppressiondialog.cpp')
-rw-r--r-- | src/plugins/valgrind/suppressiondialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/valgrind/suppressiondialog.cpp b/src/plugins/valgrind/suppressiondialog.cpp index d52dd5001a..61ad2f9006 100644 --- a/src/plugins/valgrind/suppressiondialog.cpp +++ b/src/plugins/valgrind/suppressiondialog.cpp @@ -78,7 +78,7 @@ static QString suppressionText(const Error &error) // we take the last stack frame and append the suppression kind, e.g.: // QDebug::operator<<(bool) [Memcheck:Cond] if (!error.stacks().isEmpty() && !error.stacks().first().frames().isEmpty()) { - const Frame &frame = error.stacks().first().frames().first(); + const Frame frame = error.stacks().first().frames().first(); QString newName; if (!frame.functionName().isEmpty()) |