Cleaning up for release
[tpg/acess2.git] / Kernel / arch / x86 / mm_virt.c
index 6a29c56..d384142 100644 (file)
@@ -530,7 +530,8 @@ void MM_ClearSpace(Uint32 CR3)
        }
 
        if( MM_GetRefCount(CR3) > 1 ) {
-               Log_Log("MMVirt", "CR3 %P is still referenced, not clearing", CR3);
+               MM_DerefPhys(CR3);
+               Log_Log("MMVirt", "CR3 %P is still referenced, not cleaning (but dereferenced)", CR3);
                return ;
        }
 

UCC git Repository :: git.ucc.asn.au