Index: /trunk/src/VBox/Runtime/r3/win/process-win.cpp
===================================================================
--- /trunk/src/VBox/Runtime/r3/win/process-win.cpp	(revision 57655)
+++ /trunk/src/VBox/Runtime/r3/win/process-win.cpp	(revision 57656)
@@ -648,5 +648,5 @@
                         && fOverwriteExisting)
                     {
-                        rc = RTEnvUnset(pszEntry);
+                        rc = RTEnvUnsetEx(hEnvTemp, pszEntry);
                     }
                     else if (pszEq)
@@ -693,5 +693,5 @@
  * whereas hEnv is an additional set of environment variables which overwrite existing
  * values of the user profile.  ppwszBlock needs to be destroyed after usage
- * calling rtProcWinDestoryEnv().
+ * calling rtProcWinDestroyEnv().
  *
  * @return  IPRT status code.
@@ -746,5 +746,5 @@
  * and domain), whereas hEnv is an additional set of environment variables which overwrite
  * existing values of the user profile.  ppwszBlock needs to be destroyed after usage
- * calling rtProcWinDestoryEnv().
+ * calling rtProcWinDestroyEnv().
  *
  * @return  IPRT status code.
