Index: /trunk/src/VBox/VMM/VMMAll/PGMAllBth.h
===================================================================
--- /trunk/src/VBox/VMM/VMMAll/PGMAllBth.h	(revision 19781)
+++ /trunk/src/VBox/VMM/VMMAll/PGMAllBth.h	(revision 19782)
@@ -3192,4 +3192,5 @@
     if (rc != VINF_SUCCESS)
     {
+        pgmUnlock(pVM);
         AssertRC(rc);
         return rc;
@@ -3217,4 +3218,5 @@
     if (rc != VINF_SUCCESS)
     {
+        pgmUnlock(pVM);
         AssertRC(rc);
         return rc;
