diff --git a/src/ObjCommon/InfoString/InfoString.cpp b/src/ObjCommon/InfoString/InfoString.cpp index 449898a1..489fbc20 100644 --- a/src/ObjCommon/InfoString/InfoString.cpp +++ b/src/ObjCommon/InfoString/InfoString.cpp @@ -205,8 +205,8 @@ bool InfoString::FromGdtProperties(const GdtEntry& gdtEntry) const auto* currentEntry = &gdtEntry; while (currentEntry) { - entryStack.push(&gdtEntry); - currentEntry = gdtEntry.m_parent; + entryStack.push(currentEntry); + currentEntry = currentEntry->m_parent; } }