debugger: Avoid NULL-pointer deref

Change-Id: I25e25ea801c857b7995029bba3963d7d9d73827a
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
This commit is contained in:
Robert Loehning
2013-10-10 15:51:14 +02:00
parent 7eebe00b61
commit c61610b259

View File

@@ -2603,7 +2603,8 @@ static inline bool dumpQSharedPointer(const SymbolGroupValue &v, std::wostream &
if (strongRef < 0 || weakRef < 0)
return false;
str << L"References: " << strongRef << '/' << weakRef;
*specialInfoIn = valueV.node();
if (specialInfoIn)
*specialInfoIn = valueV.node();
return true;
}