Index: /trunk/src/VBox/Main/MediumImpl.cpp
===================================================================
--- /trunk/src/VBox/Main/MediumImpl.cpp	(revision 31163)
+++ /trunk/src/VBox/Main/MediumImpl.cpp	(revision 31164)
@@ -1579,5 +1579,5 @@
     AutoReadLock alock(this COMMA_LOCKVAL_SRC_POS);
 
-    if (m->pParent)
+    if (m->pParent.isNull())
         *aAutoReset = FALSE;
     else
